diff options
Diffstat (limited to 'extra/mesa/mesa-7.5-mips-wmb.patch')
-rw-r--r-- | extra/mesa/mesa-7.5-mips-wmb.patch | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/extra/mesa/mesa-7.5-mips-wmb.patch b/extra/mesa/mesa-7.5-mips-wmb.patch new file mode 100644 index 000000000..06c3d1835 --- /dev/null +++ b/extra/mesa/mesa-7.5-mips-wmb.patch @@ -0,0 +1,11 @@ +--- mesa-20090921/src/mesa/drivers/dri/sis/sis_context.h.orig 2010-03-31 23:31:37.252554011 +0800 ++++ mesa-20090921/src/mesa/drivers/dri/sis/sis_context.h 2010-03-31 23:32:06.616553941 +0800 +@@ -404,6 +404,8 @@ + #define MMIO_WMB() __asm __volatile("" : : : "memory") + #elif defined(__ia64__) + #define MMIO_WMB() __asm __volatile("mf" : : : "memory") ++#elif defined(__mips__) ++#define MMIO_WMB() __asm __volatile("" : : : "memory") + #else + #error platform needs WMB + #endif |