summaryrefslogtreecommitdiffstats
path: root/include/asm-i386/Kbuild
diff options
context:
space:
mode:
authorDavid Woodhouse <dwmw2@infradead.org>2006-09-12 20:36:05 -0700
committerLinus Torvalds <torvalds@g5.osdl.org>2006-09-13 07:32:16 -0700
commitf01f0f052d1255dcdcf11d4872c4bca95e46b36c (patch)
tree813950ac98390893ede57af6693ffe42bc5609a5 /include/asm-i386/Kbuild
parent651c923a4446dc5aee385d81c2436d6edf8c9a0c (diff)
downloadop-kernel-dev-f01f0f052d1255dcdcf11d4872c4bca95e46b36c.zip
op-kernel-dev-f01f0f052d1255dcdcf11d4872c4bca95e46b36c.tar.gz
[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>
Diffstat (limited to 'include/asm-i386/Kbuild')
-rw-r--r--include/asm-i386/Kbuild4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/asm-i386/Kbuild b/include/asm-i386/Kbuild
index 335b2fa..2308190 100644
--- a/include/asm-i386/Kbuild
+++ b/include/asm-i386/Kbuild
@@ -1,5 +1,5 @@
include include/asm-generic/Kbuild.asm
-header-y += boot.h debugreg.h ldt.h setup.h ucontext.h
+header-y += boot.h debugreg.h ldt.h ucontext.h
-unifdef-y += mtrr.h vm86.h
+unifdef-y += mtrr.h setup.h vm86.h
OpenPOWER on IntegriCloud