powerpc: Fix some #ifndef __KERNEL__ that should be #ifdef
authorPaul Mackerras <paulus@samba.org>
Tue, 20 Dec 2005 07:43:52 +0000 (18:43 +1100)
committerPaul Mackerras <paulus@samba.org>
Mon, 9 Jan 2006 04:14:05 +0000 (15:14 +1100)
Grrr....

Signed-off-by: Paul Mackerras <paulus@samba.org>
include/asm-powerpc/heathrow.h
include/asm-powerpc/ohare.h
include/asm-powerpc/seccomp.h

index 470ab7b..93f5495 100644 (file)
@@ -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.
  *
index b42037c..0d030f9 100644 (file)
@@ -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.
  *
index cc8137b..853765e 100644 (file)
@@ -1,7 +1,7 @@
 #ifndef _ASM_POWERPC_SECCOMP_H
 #define _ASM_POWERPC_SECCOMP_H
 
-#ifndef __KERNEL__
+#ifdef __KERNEL__
 #include <linux/thread_info.h>
 #endif