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 470ab7be20a2f6a62f497eefb0ba4d9267b0deaf..93f54958a9d14813c7466fdb44b0f7ebb785044b 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 b42037cf4ad043d60ac11d5c4cb5f83d1faa7368..0d030f9dea24a551196c2f62b0e7f2a42c929c6d 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 cc8137b77b903d3fc27dd6c49741645e01b4038d..853765eb1f6584e23edc6f1c8c3272814c0fa395 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