diff options
author | David Woodhouse <dwmw2@infradead.org> | 2006-09-21 09:33:55 +0100 |
---|---|---|
committer | David Woodhouse <dwmw2@infradead.org> | 2006-09-21 09:33:55 +0100 |
commit | ed9526b0d342a1c08a19f880c3f0c1d0fec4e8db (patch) | |
tree | a09b43d06d123bbf8763eb91a5c2c46632d8e27f /include/asm-cris/elf.h | |
parent | 2a1b181eff32f497f285fcfc1e771ec469205908 (diff) |
Clean up exported headers on CRIS
This fixes most of the issues with exported headers on CRIS, although
we do still need to deal with the asm/arch symlink.
Signed-off-by: David Woodhouse <dwmw2@infradead.org>
Diffstat (limited to 'include/asm-cris/elf.h')
-rw-r--r-- | include/asm-cris/elf.h | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/include/asm-cris/elf.h b/include/asm-cris/elf.h index 87a60bd8e66..96a40c1de57 100644 --- a/include/asm-cris/elf.h +++ b/include/asm-cris/elf.h @@ -5,7 +5,6 @@ * ELF register definitions.. */ -#include <asm/arch/elf.h> #include <asm/user.h> #define R_CRIS_NONE 0 @@ -46,6 +45,9 @@ typedef unsigned long elf_fpregset_t; #define ELF_DATA ELFDATA2LSB #define ELF_ARCH EM_CRIS +#ifdef __KERNEL__ +#include <asm/arch/elf.h> + /* The master for these definitions is {binutils}/include/elf/cris.h: */ /* User symbols in this file have a leading underscore. */ #define EF_CRIS_UNDERSCORE 0x00000001 @@ -87,8 +89,8 @@ typedef unsigned long elf_fpregset_t; #define ELF_PLATFORM (NULL) -#ifdef __KERNEL__ #define SET_PERSONALITY(ex, ibcs2) set_personality((ibcs2)?PER_SVR4:PER_LINUX) -#endif + +#endif /* __KERNEL__ */ #endif |