x86: headers cleanup - boot.h
authorCyrill Gorcunov <gorcunov@gmail.com>
Wed, 14 Jan 2009 20:37:46 +0000 (23:37 +0300)
committerH. Peter Anvin <hpa@linux.intel.com>
Wed, 14 Jan 2009 23:39:28 +0000 (15:39 -0800)
commit95c4bff0308eb0819436b730a836846d3e784657
treebcda34e225632d3beb63871ff53b7eb87d942aca
parent73310a169aebe257efdd35a763cce1c7658f40c9
x86: headers cleanup - boot.h

Impact: cleanup

'make headers_check' warn us about leaking of kernel private
(mostly compile time vars) data to userspace in headers. Fix it.

Neither BOOT_HEAP_SIZE, BOOT_STACK_SIZE refs
was found by searching thru net (ie in user-space area)
so fence this all by __KERNEL__ guard.

Signed-off-by: Cyrill Gorcunov <gorcunov@openvz.org>
Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
arch/x86/include/asm/boot.h