Skip to content

Commit

Permalink
powerpc: Fix some #ifndef __KERNEL__ that should be #ifdef
Browse files Browse the repository at this point in the history
Grrr....

Signed-off-by: Paul Mackerras <paulus@samba.org>
  • Loading branch information
Paul Mackerras committed Jan 9, 2006
1 parent 88ced03 commit 42650d8
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion include/asm-powerpc/heathrow.h
Original file line number Diff line number Diff line change
@@ -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.
*
Expand Down
2 changes: 1 addition & 1 deletion include/asm-powerpc/ohare.h
Original file line number Diff line number Diff line change
@@ -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.
*
Expand Down
2 changes: 1 addition & 1 deletion include/asm-powerpc/seccomp.h
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#ifndef _ASM_POWERPC_SECCOMP_H
#define _ASM_POWERPC_SECCOMP_H

#ifndef __KERNEL__
#ifdef __KERNEL__
#include <linux/thread_info.h>
#endif

Expand Down

0 comments on commit 42650d8

Please sign in to comment.