aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-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 470ab7be20a..93f54958a9d 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 b42037cf4ad..0d030f9dea2 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 cc8137b77b9..853765eb1f6 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