mirror of
https://github.com/xen-project/xen.git
synced 2026-10-28 02:01:24 +01:00
Update the AGP+DRM patches for 2.6.9, and automatically patch the kernels before we build them. Also avoid using virt_to_phys() in our virtual drivers as we may change what it does -- better to use __pa().
13 lines
425 B
Diff
13 lines
425 B
Diff
diff -ur linux-2.6.9/drivers/char/drm/ati_pcigart.h linux-2.6.9-new/drivers/char/drm/ati_pcigart.h
|
|
--- linux-2.6.9/drivers/char/drm/ati_pcigart.h 2004-10-18 22:55:07.000000000 +0100
|
|
+++ linux-2.6.9-new/drivers/char/drm/ati_pcigart.h 2004-11-28 19:42:41.000000000 +0000
|
|
@@ -158,7 +158,7 @@
|
|
ret = 1;
|
|
|
|
#if defined(__i386__) || defined(__x86_64__)
|
|
- asm volatile ( "wbinvd" ::: "memory" );
|
|
+ wbinvd();
|
|
#else
|
|
mb();
|
|
#endif
|