summaryrefslogtreecommitdiffstats
path: root/include/linux/elf.h
diff options
context:
space:
mode:
authorKirill A. Shutemov <k.shutemov@gmail.com>2008-02-07 00:15:55 -0800
committerLinus Torvalds <torvalds@woody.linux-foundation.org>2008-02-07 08:42:30 -0800
commit6cc931b9b5ec652c90b928f3ec2163f261552c91 (patch)
tree0f01557ada755c56baffe102614149ad190ebb02 /include/linux/elf.h
parent516c25a86f6bdad77ded01a43c52c5569c8d690c (diff)
downloadblackbird-op-linux-6cc931b9b5ec652c90b928f3ec2163f261552c91.tar.gz
blackbird-op-linux-6cc931b9b5ec652c90b928f3ec2163f261552c91.zip
Unexport asm/elf.h
Do not export asm/elf.h during make headers_install. Signed-off-by: Kirill A. Shutemov <k.shutemov@gmail.com> Reviewed-by: David Woodhouse <dwmw2@infradead.org> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'include/linux/elf.h')
-rw-r--r--include/linux/elf.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/elf.h b/include/linux/elf.h
index 7ceb24d87c1a..ed98c761bae7 100644
--- a/include/linux/elf.h
+++ b/include/linux/elf.h
@@ -3,7 +3,9 @@
#include <linux/types.h>
#include <linux/elf-em.h>
+#ifdef __KERNEL__
#include <asm/elf.h>
+#endif
struct file;
OpenPOWER on IntegriCloud