only use __x86_64__, not __amd64__ (bug 15503)
This commit is contained in:
@@ -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")
|
||||
|
||||
@@ -159,7 +159,7 @@ typedef union { GLfloat f; GLint i; } fi_type;
|
||||
***/
|
||||
#if defined(__i386__) || defined(__386__) || defined(__sparc__) || \
|
||||
defined(__s390x__) || defined(__powerpc__) || \
|
||||
defined(__amd64__) || defined(__x86_64__) || \
|
||||
defined(__x86_64__) || \
|
||||
defined(ia64) || defined(__ia64__) || \
|
||||
defined(__hppa__) || defined(hpux) || \
|
||||
defined(__mips) || defined(_MIPS_ARCH) || \
|
||||
|
||||
@@ -185,7 +185,7 @@ extern char *mesa_profile;
|
||||
|
||||
#endif
|
||||
|
||||
#elif defined(__amd64__)
|
||||
#elif defined(__x86_64__)
|
||||
|
||||
#define rdtscll(val) do { \
|
||||
unsigned int a,d; \
|
||||
|
||||
Reference in New Issue
Block a user