summaryrefslogtreecommitdiffstats
path: root/include/asm-arm/elf.h
diff options
context:
space:
mode:
authorRalph Siemsen <ralphs@netwinder.org>2006-09-18 16:28:50 +0100
committerRussell King <rmk+kernel@arm.linux.org.uk>2006-09-18 16:28:50 +0100
commite40b1074af46d53740320f88dfffd9fb2f78bdf3 (patch)
treea3809ce5543118430361ed3fcaef65619bdaa7f2 /include/asm-arm/elf.h
parenta9c3685b2f0515bffd8d13ea9e3417664ff22a07 (diff)
downloadop-kernel-dev-e40b1074af46d53740320f88dfffd9fb2f78bdf3.zip
op-kernel-dev-e40b1074af46d53740320f88dfffd9fb2f78bdf3.tar.gz
[ARM] 3815/1: headers_install support for ARM
Move kernel-only #includes into #ifdef __KERNEL__, so that headers_install target can be used on ARM. Signed-off-by: Ralph Siemsen <ralphs@netwinder.org> Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'include/asm-arm/elf.h')
-rw-r--r--include/asm-arm/elf.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/asm-arm/elf.h b/include/asm-arm/elf.h
index 71061ca..ae7baa6 100644
--- a/include/asm-arm/elf.h
+++ b/include/asm-arm/elf.h
@@ -8,7 +8,9 @@
#include <asm/ptrace.h>
#include <asm/user.h>
+#ifdef __KERNEL
#include <asm/procinfo.h>
+#endif
typedef unsigned long elf_greg_t;
typedef unsigned long elf_freg_t[3];
OpenPOWER on IntegriCloud