1 --- ./hw/xfree86/common/compiler.h.orig
2 +++ ./hw/xfree86/common/compiler.h
4 :"r"(val), "r"(addr), "i"(ASI_PL));
7 -#elif defined(__mips__) || (defined(__arm32__) && !defined(__linux__))
8 +#elif defined(__mips__) || (defined(__arm32__) && !defined(__GLIBC__))
9 #if defined(__arm32__) || defined(__mips64)
10 #define PORT_SIZE long
13 return xf86ReadMmio32Le((void *) ioBase, port);
16 -#elif defined(__arm__) && defined(__linux__)
17 +#elif defined(__arm__) && defined(__GLIBC__)
19 /* for Linux on ARM, we use the LIBC inx/outx routines */
20 /* note that the appropriate setup via "ioperm" needs to be done */