summaryrefslogtreecommitdiff
path: root/arch/x86/realmode/rm/wakeup.h
diff options
context:
space:
mode:
authorH. Peter Anvin <hpa@linux.intel.com>2012-05-21 07:02:45 (GMT)
committerH. Peter Anvin <hpa@linux.intel.com>2012-05-21 07:02:45 (GMT)
commit61f5446169046c217a5479517edac3a890c3bee7 (patch)
tree461c02f95e69f06a0d7a2cf8c349f1b6e08105ca /arch/x86/realmode/rm/wakeup.h
parent8a3b947c40cb36100f316ac0d433f4ae554ee4cc (diff)
downloadlinux-61f5446169046c217a5479517edac3a890c3bee7.tar.xz
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>
Diffstat (limited to 'arch/x86/realmode/rm/wakeup.h')
-rw-r--r--arch/x86/realmode/rm/wakeup.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/arch/x86/realmode/rm/wakeup.h b/arch/x86/realmode/rm/wakeup.h
index 2dfaf06..9317e00 100644
--- a/arch/x86/realmode/rm/wakeup.h
+++ b/arch/x86/realmode/rm/wakeup.h
@@ -33,7 +33,6 @@ extern struct wakeup_header wakeup_header;
#define WAKEUP_HEADER_OFFSET 8
#define WAKEUP_HEADER_SIGNATURE 0x51ee1111
-#define WAKEUP_END_SIGNATURE 0x65a22c82
/* Wakeup behavior bits */
#define WAKEUP_BEHAVIOR_RESTORE_MISC_ENABLE 0