Skip to content

Commit

Permalink
powerpc: Don't export asm/asm-compat.h to userspace
Browse files Browse the repository at this point in the history
asm/asm-compat.h doesn't seem to be intended for userspace usage.

Signed-off-by: Adrian Bunk <bunk@kernel.org>
Signed-off-by: Paul Mackerras <paulus@samba.org>
  • Loading branch information
Adrian Bunk authored and Paul Mackerras committed Jul 1, 2008
1 parent 9b4a8dd commit d1cdcf2
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
1 change: 0 additions & 1 deletion include/asm-powerpc/Kbuild
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@ header-y += sigcontext.h
header-y += statfs.h
header-y += ps3fb.h

unifdef-y += asm-compat.h
unifdef-y += bootx.h
unifdef-y += byteorder.h
unifdef-y += cputable.h
Expand Down
5 changes: 3 additions & 2 deletions include/asm-powerpc/cputable.h
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
#ifndef __ASM_POWERPC_CPUTABLE_H
#define __ASM_POWERPC_CPUTABLE_H

#include <asm/asm-compat.h>

#define PPC_FEATURE_32 0x80000000
#define PPC_FEATURE_64 0x40000000
#define PPC_FEATURE_601_INSTR 0x20000000
Expand Down Expand Up @@ -32,6 +30,9 @@
#define PPC_FEATURE_PPC_LE 0x00000001

#ifdef __KERNEL__

#include <asm/asm-compat.h>

#ifndef __ASSEMBLY__

/* This structure can grow, it's real size is used by head.S code
Expand Down

0 comments on commit d1cdcf2

Please sign in to comment.