[PATCH] Remove Linux-2.4/PPC64 checks

Matt Turner mattst88 at gmail.com
Mon Feb 15 17:07:00 PST 2010


We don't support the 2.4 series kernels anymore, no point in
checking for them.

Signed-off-by: Matt Turner <mattst88 at gmail.com>
---
 hw/xfree86/common/compiler.h |   11 +----------
 1 files changed, 1 insertions(+), 10 deletions(-)

diff --git a/hw/xfree86/common/compiler.h b/hw/xfree86/common/compiler.h
index a450bd6..0965584 100644
--- a/hw/xfree86/common/compiler.h
+++ b/hw/xfree86/common/compiler.h
@@ -182,16 +182,7 @@ extern unsigned short ldw_brx(volatile unsigned char *, int);
 
 #   elif defined __powerpc__
 
-#    if defined(linux) && defined(__powerpc64__)
-#     include <linux/version.h>
-#     if LINUX_VERSION_CODE < KERNEL_VERSION(2, 6, 0)
-#      include <asm/memory.h>
-#     endif
-#    endif /* defined(linux) && defined(__powerpc64__) */
-
-#    ifndef eieio /* We deal with arch-specific eieio() routines above... */
-#     define eieio() __asm__ __volatile__ ("eieio" ::: "memory")
-#    endif /* eieio */
+#    define eieio() __asm__ __volatile__ ("eieio" ::: "memory")
 #    define mem_barrier()	eieio()
 #    define write_mem_barrier()	eieio()
 
-- 
1.6.4.4



More information about the xorg-devel mailing list