[PATCH] headers_check: move kernel-only #includes within <asm-i386/elf.h>
authorDavid Woodhouse <dwmw2@infradead.org>
Wed, 13 Sep 2006 03:36:04 +0000 (20:36 -0700)
committerLinus Torvalds <torvalds@g5.osdl.org>
Wed, 13 Sep 2006 14:32:15 +0000 (07:32 -0700)
commit651c923a4446dc5aee385d81c2436d6edf8c9a0c
treeb1323fa960c2af80d87af40d8597d72d4e61e4f0
parentb40c274a03f70d1f758753c56452bed506e47a09
[PATCH] headers_check: move kernel-only #includes within <asm-i386/elf.h>

Some files which don't exist in userspace were being included unconditionally
in asm-i386/elf.h.  Move the offending #includes down a few lines so that
they're protected by #ifdef __KERNEL__

In fact, we probably want to kill off all userspace use of asm/elf.h -- but we
aren't there yet, so we should at least make it possible to include it for
now.

Signed-off-by: David Woodhouse <dwmw2@infradead.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
include/asm-i386/elf.h