summaryrefslogtreecommitdiff
path: root/extra/mesa/mesa-7.5-mips-wmb.patch
blob: 06c3d1835b995d3382d1ad77cc1288be933de73b (plain)
1
2
3
4
5
6
7
8
9
10
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