Commit d1cdcf22 authored by Adrian Bunk's avatar Adrian Bunk Committed by Paul Mackerras

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: default avatarAdrian Bunk <bunk@kernel.org>
Signed-off-by: default avatarPaul Mackerras <paulus@samba.org>
parent 9b4a8dd2
...@@ -23,7 +23,6 @@ header-y += sigcontext.h ...@@ -23,7 +23,6 @@ header-y += sigcontext.h
header-y += statfs.h header-y += statfs.h
header-y += ps3fb.h header-y += ps3fb.h
unifdef-y += asm-compat.h
unifdef-y += bootx.h unifdef-y += bootx.h
unifdef-y += byteorder.h unifdef-y += byteorder.h
unifdef-y += cputable.h unifdef-y += cputable.h
......
#ifndef __ASM_POWERPC_CPUTABLE_H #ifndef __ASM_POWERPC_CPUTABLE_H
#define __ASM_POWERPC_CPUTABLE_H #define __ASM_POWERPC_CPUTABLE_H
#include <asm/asm-compat.h>
#define PPC_FEATURE_32 0x80000000 #define PPC_FEATURE_32 0x80000000
#define PPC_FEATURE_64 0x40000000 #define PPC_FEATURE_64 0x40000000
#define PPC_FEATURE_601_INSTR 0x20000000 #define PPC_FEATURE_601_INSTR 0x20000000
...@@ -32,6 +30,9 @@ ...@@ -32,6 +30,9 @@
#define PPC_FEATURE_PPC_LE 0x00000001 #define PPC_FEATURE_PPC_LE 0x00000001
#ifdef __KERNEL__ #ifdef __KERNEL__
#include <asm/asm-compat.h>
#ifndef __ASSEMBLY__ #ifndef __ASSEMBLY__
/* This structure can grow, it's real size is used by head.S code /* This structure can grow, it's real size is used by head.S code
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment