Преглед на файлове

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