diff options
author | Marcin Slusarz <marcin.slusarz@gmail.com> | 2008-08-03 19:25:48 +0200 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2008-08-15 16:41:21 +0200 |
commit | 9744f5a32853642f8ed0749a1c9ed8cf9c9c9dc4 (patch) | |
tree | 0f30c870dd4161fd4de4999e528ec0d825f9084e /arch | |
parent | 7bc069c6bc4ede519a7116be1b9e149a1dbf787a (diff) | |
download | op-kernel-dev-9744f5a32853642f8ed0749a1c9ed8cf9c9c9dc4.zip op-kernel-dev-9744f5a32853642f8ed0749a1c9ed8cf9c9c9dc4.tar.gz |
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: Marcin Slusarz <marcin.slusarz@gmail.com>
Acked-by: Pavel Machek <pavel@suse.cz>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/x86/kernel/acpi/sleep.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/kernel/acpi/sleep.c b/arch/x86/kernel/acpi/sleep.c index fa2161d..81e5ab6 100644 --- a/arch/x86/kernel/acpi/sleep.c +++ b/arch/x86/kernel/acpi/sleep.c @@ -20,7 +20,7 @@ unsigned long acpi_realmode_flags; /* address in low memory of the wakeup routine. */ static unsigned long acpi_realmode; -#ifdef CONFIG_64BIT +#if defined(CONFIG_SMP) && defined(CONFIG_64BIT) static char temp_stack[10240]; #endif |