diff options
author | Adrian Bunk <bunk@kernel.org> | 2008-06-23 13:48:21 -0400 |
---|---|---|
committer | Paul Mackerras <paulus@samba.org> | 2008-06-30 21:28:09 -0400 |
commit | d1cdcf2241723d6596d56abb8777b5ef79b4a878 (patch) | |
tree | 05c9fe12af0027c517b08f4c6c205615d1979554 /include/asm-powerpc | |
parent | 9b4a8dd2e9f8af206eb39e3d99c442b0d6158953 (diff) |
powerpc: Don't export asm/asm-compat.h to userspace
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>
Diffstat (limited to 'include/asm-powerpc')
-rw-r--r-- | include/asm-powerpc/Kbuild | 1 | ||||
-rw-r--r-- | include/asm-powerpc/cputable.h | 5 |
2 files changed, 3 insertions, 3 deletions
diff --git a/include/asm-powerpc/Kbuild b/include/asm-powerpc/Kbuild index bca352e033c3..34a0a8db0104 100644 --- a/include/asm-powerpc/Kbuild +++ b/include/asm-powerpc/Kbuild | |||
@@ -23,7 +23,6 @@ header-y += sigcontext.h | |||
23 | header-y += statfs.h | 23 | header-y += statfs.h |
24 | header-y += ps3fb.h | 24 | header-y += ps3fb.h |
25 | 25 | ||
26 | unifdef-y += asm-compat.h | ||
27 | unifdef-y += bootx.h | 26 | unifdef-y += bootx.h |
28 | unifdef-y += byteorder.h | 27 | unifdef-y += byteorder.h |
29 | unifdef-y += cputable.h | 28 | unifdef-y += cputable.h |
diff --git a/include/asm-powerpc/cputable.h b/include/asm-powerpc/cputable.h index 3e5b2deafe44..3189ac5d0a69 100644 --- a/include/asm-powerpc/cputable.h +++ b/include/asm-powerpc/cputable.h | |||
@@ -1,8 +1,6 @@ | |||
1 | #ifndef __ASM_POWERPC_CPUTABLE_H | 1 | #ifndef __ASM_POWERPC_CPUTABLE_H |
2 | #define __ASM_POWERPC_CPUTABLE_H | 2 | #define __ASM_POWERPC_CPUTABLE_H |
3 | 3 | ||
4 | #include <asm/asm-compat.h> | ||
5 | |||
6 | #define PPC_FEATURE_32 0x80000000 | 4 | #define PPC_FEATURE_32 0x80000000 |
7 | #define PPC_FEATURE_64 0x40000000 | 5 | #define PPC_FEATURE_64 0x40000000 |
8 | #define PPC_FEATURE_601_INSTR 0x20000000 | 6 | #define PPC_FEATURE_601_INSTR 0x20000000 |
@@ -32,6 +30,9 @@ | |||
32 | #define PPC_FEATURE_PPC_LE 0x00000001 | 30 | #define PPC_FEATURE_PPC_LE 0x00000001 |
33 | 31 | ||
34 | #ifdef __KERNEL__ | 32 | #ifdef __KERNEL__ |
33 | |||
34 | #include <asm/asm-compat.h> | ||
35 | |||
35 | #ifndef __ASSEMBLY__ | 36 | #ifndef __ASSEMBLY__ |
36 | 37 | ||
37 | /* This structure can grow, it's real size is used by head.S code | 38 | /* This structure can grow, it's real size is used by head.S code |