https://github.com/torvalds/linux
Revision 651c923a4446dc5aee385d81c2436d6edf8c9a0c authored by David Woodhouse on 13 September 2006, 03:36:04 UTC, committed by Linus Torvalds on 13 September 2006, 14:32:15 UTC
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>
1 parent b40c274
History
Tip revision: 651c923a4446dc5aee385d81c2436d6edf8c9a0c authored by David Woodhouse on 13 September 2006, 03:36:04 UTC
[PATCH] headers_check: move kernel-only #includes within <asm-i386/elf.h>
Tip revision: 651c923
File Mode Size
Documentation
arch
block
crypto
drivers
fs
include
init
ipc
kernel
lib
mm
net
scripts
security
sound
usr
.gitignore -rw-r--r-- 521 bytes
COPYING -rw-r--r-- 18.3 KB
CREDITS -rw-r--r-- 87.4 KB
Kbuild -rw-r--r-- 1.2 KB
MAINTAINERS -rw-r--r-- 71.0 KB
Makefile -rw-r--r-- 46.5 KB
README -rw-r--r-- 16.2 KB
REPORTING-BUGS -rw-r--r-- 3.0 KB

README

back to top