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)
commit61f5446169046c217a5479517edac3a890c3bee7
tree461c02f95e69f06a0d7a2cf8c349f1b6e08105ca
parent8a3b947c40cb36100f316ac0d433f4ae554ee4cc
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