x86-64: align __PHYSICAL_START, remove __KERNEL_ALIGN
authorH. Peter Anvin <hpa@zytor.com>
Tue, 12 May 2009 18:37:34 +0000 (11:37 -0700)
committerH. Peter Anvin <hpa@zytor.com>
Tue, 12 May 2009 18:41:42 +0000 (11:41 -0700)
commitc4f68236e41641494f9c8a418ccc0678c335bbb5
tree0af5a0ce1331a0270bd4e01fe836a86967d9054c
parent7ed42a28b269f8682eefae27f5c11187eb56e63b
x86-64: align __PHYSICAL_START, remove __KERNEL_ALIGN

Handle the misconfiguration where CONFIG_PHYSICAL_START is
incompatible with CONFIG_PHYSICAL_ALIGN.  This is a configuration
error, but one which arises easily since Kconfig doesn't have the
smarts to express the true relationship between these two variables.
Hence, align __PHYSICAL_START the same way we align LOAD_PHYSICAL_ADDR
in <asm/boot.h>.

For non-relocatable kernels, this would cause the boot to fail.

[ Impact: fix boot failures for non-relocatable kernels ]

Reported-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
arch/x86/include/asm/page_64_types.h