Commit 9744f5a3 authored by Marcin Slusarz's avatar Marcin Slusarz Committed by Ingo Molnar

x86, acpi: cleanup, temp_stack is used only when CONFIG_SMP is set

fix:

  arch/x86/kernel/acpi/sleep.c:24: warning: 'temp_stack' defined but not used

[ Sven Wegener <sven.wegener@stealer.net>: fix build bug ]
Signed-off-by: default avatarMarcin Slusarz <marcin.slusarz@gmail.com>
Acked-by: default avatarPavel Machek <pavel@suse.cz>
Signed-off-by: default avatarIngo Molnar <mingo@elte.hu>
parent 7bc069c6
...@@ -20,7 +20,7 @@ unsigned long acpi_realmode_flags; ...@@ -20,7 +20,7 @@ unsigned long acpi_realmode_flags;
/* address in low memory of the wakeup routine. */ /* address in low memory of the wakeup routine. */
static unsigned long acpi_realmode; static unsigned long acpi_realmode;
#ifdef CONFIG_64BIT #if defined(CONFIG_SMP) && defined(CONFIG_64BIT)
static char temp_stack[10240]; static char temp_stack[10240];
#endif #endif
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment