浏览代码

[PATCH] x86-64: Fix preprocessor condition

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>
Josef 'Jeff' Sipek 18 年之前
父节点
当前提交
b0957f1a3a
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      include/asm-x86_64/io.h

+ 1 - 1
include/asm-x86_64/io.h

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