]> git.baikalelectronics.ru Git - kernel.git/commit
x86, realmode: Move end signature into header.S
authorH. Peter Anvin <hpa@linux.intel.com>
Mon, 21 May 2012 07:02:45 +0000 (00:02 -0700)
committerH. Peter Anvin <hpa@linux.intel.com>
Mon, 21 May 2012 07:02:45 +0000 (00:02 -0700)
commite16fe90755e2897a58ed944c296f381b47db90cf
tree461c02f95e69f06a0d7a2cf8c349f1b6e08105ca
parenta9e8af95a332bc67196b1cc164e561cab89c9dd7
x86, realmode: Move end signature into header.S

The end signature was defined in wakeup_asm.S as it originally came
from the ACPI wakeup code.  However, we rely on the existence of the
.signature section to expand .bss, otherwise we would have to include
code to explicitly zero the .bss depending on the configuration.
Since the expanded .bss is just in .init.data anyway, it's easier to
always have it expanded.

This fixes failures when compiled without CONFIG_ACPI_SLEEP.

Reported-by: Ingo Molnar <mingo@kernel.org>
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
Cc: Jarkko Sakkinen <jarkko.sakkinen@intel.com>
arch/x86/realmode/rm/header.S
arch/x86/realmode/rm/realmode.h
arch/x86/realmode/rm/wakeup.h
arch/x86/realmode/rm/wakeup_asm.S