powerpc: Fix some #ifndef __KERNEL__ that should be #ifdef

Grrr....

Signed-off-by: Paul Mackerras <paulus@samba.org>
This commit is contained in:
Paul Mackerras 2005-12-20 18:43:52 +11:00
parent 88ced03149
commit 42650d8c90
3 changed files with 3 additions and 3 deletions

View File

@ -1,6 +1,6 @@
#ifndef _ASM_POWERPC_HEATHROW_H #ifndef _ASM_POWERPC_HEATHROW_H
#define _ASM_POWERPC_HEATHROW_H #define _ASM_POWERPC_HEATHROW_H
#ifndef __KERNEL__ #ifdef __KERNEL__
/* /*
* heathrow.h: definitions for using the "Heathrow" I/O controller chip. * heathrow.h: definitions for using the "Heathrow" I/O controller chip.
* *

View File

@ -1,6 +1,6 @@
#ifndef _ASM_POWERPC_OHARE_H #ifndef _ASM_POWERPC_OHARE_H
#define _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. * ohare.h: definitions for using the "O'Hare" I/O controller chip.
* *

View File

@ -1,7 +1,7 @@
#ifndef _ASM_POWERPC_SECCOMP_H #ifndef _ASM_POWERPC_SECCOMP_H
#define _ASM_POWERPC_SECCOMP_H #define _ASM_POWERPC_SECCOMP_H
#ifndef __KERNEL__ #ifdef __KERNEL__
#include <linux/thread_info.h> #include <linux/thread_info.h>
#endif #endif