Эх сурвалжийг харах

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

Grrr....

Signed-off-by: Paul Mackerras <paulus@samba.org>
Paul Mackerras 19 жил өмнө
parent
commit
42650d8c90

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

@@ -1,6 +1,6 @@
 #ifndef _ASM_POWERPC_HEATHROW_H
 #ifndef _ASM_POWERPC_HEATHROW_H
 #define _ASM_POWERPC_HEATHROW_H
 #define _ASM_POWERPC_HEATHROW_H
-#ifndef __KERNEL__
+#ifdef __KERNEL__
 /*
 /*
  * heathrow.h: definitions for using the "Heathrow" I/O controller chip.
  * 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
 #ifndef _ASM_POWERPC_OHARE_H
 #define _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.
  * 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
 #ifndef _ASM_POWERPC_SECCOMP_H
 #define _ASM_POWERPC_SECCOMP_H
 #define _ASM_POWERPC_SECCOMP_H
 
 
-#ifndef __KERNEL__
+#ifdef __KERNEL__
 #include <linux/thread_info.h>
 #include <linux/thread_info.h>
 #endif
 #endif