summaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers/dri/sis
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2008-04-14 14:10:32 -0600
committerBrian Paul <[email protected]>2008-04-14 14:10:32 -0600
commit118c2bc860037f084166d3406039d82198ddf3d6 (patch)
tree3b1462996d40120170744fa3a09a3d3618b7344f /src/mesa/drivers/dri/sis
parent8fd2b7d9ddbc3c832d0452eb32709d8c835fb193 (diff)
only use __x86_64__, not __amd64__ (bug 15503)
Diffstat (limited to 'src/mesa/drivers/dri/sis')
-rw-r--r--src/mesa/drivers/dri/sis/sis_context.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/drivers/dri/sis/sis_context.h b/src/mesa/drivers/dri/sis/sis_context.h
index 6289fb4500d..5fc8267879c 100644
--- a/src/mesa/drivers/dri/sis/sis_context.h
+++ b/src/mesa/drivers/dri/sis/sis_context.h
@@ -401,7 +401,7 @@ struct sis_context
#define MMIO_READ(reg) *(volatile GLint *)(smesa->IOBase + (reg))
#define MMIO_READf(reg) *(volatile GLfloat *)(smesa->IOBase + (reg))
-#if defined(__i386__) || defined(__amd64__)
+#if defined(__i386__) || defined(__x86_64__)
#define MMIO_WMB() __asm __volatile("" : : : "memory")
#elif defined(__ia64__)
#define MMIO_WMB() __asm __volatile("mf" : : : "memory")