]> err.no Git - linux-2.6/commit
[PATCH] headers_check: don't expose PFN stuff to userspace in <asm-i386/setup.h>
authorDavid Woodhouse <dwmw2@infradead.org>
Wed, 13 Sep 2006 03:36:05 +0000 (20:36 -0700)
committerLinus Torvalds <torvalds@g5.osdl.org>
Wed, 13 Sep 2006 14:32:16 +0000 (07:32 -0700)
commitf01f0f052d1255dcdcf11d4872c4bca95e46b36c
tree813950ac98390893ede57af6693ffe42bc5609a5
parent651c923a4446dc5aee385d81c2436d6edf8c9a0c
[PATCH] headers_check: don't expose PFN stuff to userspace in <asm-i386/setup.h>

The header file <linux/pfn.h> doesn't exist in userspace and probably
shouldn't -- but it's used unconditionally in <asm-i386/setup.h>.  Protect it
with #ifdef __KERNEL__ and move setup.h from $(header-y) to $(unifdef-y) in
Kbuild accordingly.

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/Kbuild
include/asm-i386/setup.h