]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - include/asm-arm/elf.h
[SCSI] scsi_transport_spi: fix oops in revalidate
[linux-2.6-omap-h63xx.git] / include / asm-arm / elf.h
index d7a777f05088d6332a3a723a7308f3c82070a7cd..4ca7516274898dafae96518f76a4f6656a352264 100644 (file)
@@ -1,13 +1,14 @@
 #ifndef __ASMARM_ELF_H
 #define __ASMARM_ELF_H
 
+#include <asm/hwcap.h>
+
 #ifndef __ASSEMBLY__
 /*
  * ELF register definitions..
  */
 #include <asm/ptrace.h>
 #include <asm/user.h>
-#include <asm/hwcap.h>
 
 typedef unsigned long elf_greg_t;
 typedef unsigned long elf_freg_t[3];
@@ -40,7 +41,6 @@ typedef struct user_fp elf_fpregset_t;
 #endif
 #define ELF_ARCH       EM_ARM
 
-#ifdef __KERNEL__
 #ifndef __ASSEMBLY__
 /*
  * This yields a string that ld.so will use to load implementation
@@ -114,5 +114,3 @@ extern char elf_platform[];
        } while (0)
 
 #endif
-
-#endif