瀏覽代碼

powerpc: Fix some #ifndef __KERNEL__ that should be #ifdef

Grrr....

Signed-off-by: Paul Mackerras <paulus@samba.org>
Paul Mackerras 19 年之前
父節點
當前提交
42650d8c90
共有 3 個文件被更改,包括 3 次插入3 次删除
  1. 1 1
      include/asm-powerpc/heathrow.h
  2. 1 1
      include/asm-powerpc/ohare.h
  3. 1 1
      include/asm-powerpc/seccomp.h

+ 1 - 1
include/asm-powerpc/heathrow.h

@@ -1,6 +1,6 @@
 #ifndef _ASM_POWERPC_HEATHROW_H
 #define _ASM_POWERPC_HEATHROW_H
-#ifndef __KERNEL__
+#ifdef __KERNEL__
 /*
  * heathrow.h: definitions for using the "Heathrow" I/O controller chip.
  *

+ 1 - 1
include/asm-powerpc/ohare.h

@@ -1,6 +1,6 @@
 #ifndef _ASM_POWERPC_OHARE_H
 #define _ASM_POWERPC_OHARE_H
-#ifndef __KERNEL__
+#ifdef __KERNEL__
 /*
  * ohare.h: definitions for using the "O'Hare" I/O controller chip.
  *

+ 1 - 1
include/asm-powerpc/seccomp.h

@@ -1,7 +1,7 @@
 #ifndef _ASM_POWERPC_SECCOMP_H
 #define _ASM_POWERPC_SECCOMP_H
 
-#ifndef __KERNEL__
+#ifdef __KERNEL__
 #include <linux/thread_info.h>
 #endif