summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPaul Mackerras <paulus@samba.org>2005-12-20 18:43:52 +1100
committerPaul Mackerras <paulus@samba.org>2006-01-09 15:14:05 +1100
commit42650d8c9060a2658a79d4e30a5790b23d7753e0 (patch)
treee9a81a0ed78f606a4d04b71c40a1bcf144d72401
parent88ced0314938814e1772b4d0d7ab20c52e4472b6 (diff)
downloadop-kernel-dev-42650d8c9060a2658a79d4e30a5790b23d7753e0.zip
op-kernel-dev-42650d8c9060a2658a79d4e30a5790b23d7753e0.tar.gz
powerpc: Fix some #ifndef __KERNEL__ that should be #ifdef
Grrr.... Signed-off-by: Paul Mackerras <paulus@samba.org>
-rw-r--r--include/asm-powerpc/heathrow.h2
-rw-r--r--include/asm-powerpc/ohare.h2
-rw-r--r--include/asm-powerpc/seccomp.h2
3 files changed, 3 insertions, 3 deletions
diff --git a/include/asm-powerpc/heathrow.h b/include/asm-powerpc/heathrow.h
index 470ab7b..93f5495 100644
--- a/include/asm-powerpc/heathrow.h
+++ b/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.
*
diff --git a/include/asm-powerpc/ohare.h b/include/asm-powerpc/ohare.h
index b42037c..0d030f9 100644
--- a/include/asm-powerpc/ohare.h
+++ b/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.
*
diff --git a/include/asm-powerpc/seccomp.h b/include/asm-powerpc/seccomp.h
index cc8137b..853765e 100644
--- a/include/asm-powerpc/seccomp.h
+++ b/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
OpenPOWER on IntegriCloud