diff options
-rw-r--r-- | xserver/hw/xfree86/common/compiler.h | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/xserver/hw/xfree86/common/compiler.h b/xserver/hw/xfree86/common/compiler.h index 2b2008b3f..eb788d3fd 100644 --- a/xserver/hw/xfree86/common/compiler.h +++ b/xserver/hw/xfree86/common/compiler.h @@ -518,14 +518,10 @@ xf86WriteMmio32Le(__volatile__ void *base, const unsigned long offset, barrier(); } -#elif defined(__mips__) || (defined(__arm32__) && !defined(__linux__)) -#if defined(__arm32__) || defined(__mips64) +#elif defined(__arm32__) && !defined(__linux__) #define PORT_SIZE long -#else -#define PORT_SIZE short -#endif -_X_EXPORT unsigned int IOPortBase; /* Memory mapped I/O port area */ +extern _X_EXPORT unsigned int IOPortBase; /* Memory mapped I/O port area */ static __inline__ void outb(unsigned PORT_SIZE port, unsigned char val) |