From: Marcin Slusarz Date: Sun, 3 Aug 2008 17:25:48 +0000 (+0200) Subject: x86, acpi: cleanup, temp_stack is used only when CONFIG_SMP is set X-Git-Tag: v2.6.27-rc4~52^2~5 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=9744f5a32853642f8ed0749a1c9ed8cf9c9c9dc4;p=platform%2Fkernel%2Flinux-exynos.git 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 : fix build bug ] Signed-off-by: Marcin Slusarz Acked-by: Pavel Machek Signed-off-by: Ingo Molnar --- 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