[PATCH] x86-64: Fix preprocessor condition
authorJosef 'Jeff' Sipek <jsipek@cs.sunysb.edu>
Tue, 13 Feb 2007 12:26:23 +0000 (13:26 +0100)
committerAndi Kleen <andi@basil.nowhere.org>
Tue, 13 Feb 2007 12:26:23 +0000 (13:26 +0100)
Old code was legal standard C, but apparently not sparse-C.

Signed-off-by: Josef 'Jeff' Sipek <jsipek@cs.sunysb.edu>
Signed-off-by: Andi Kleen <ak@suse.de>
include/asm-x86_64/io.h

index f5d84bb7c9488c3281cc6e386bbc67e97abdd16f..de2cd9a2303a92922a9dea817cd127841bf32765 100644 (file)
@@ -100,7 +100,7 @@ __OUTS(l)
 
 #define IO_SPACE_LIMIT 0xffff
 
-#if defined(__KERNEL__) && __x86_64__
+#if defined(__KERNEL__) && defined(__x86_64__)
 
 #include <linux/vmalloc.h>