All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] x86, acpi: temp_stack is used only when CONFIG_SMP is set
@ 2008-08-03 16:52 Marcin Slusarz
  2008-08-03 17:07 ` Sven Wegener
  0 siblings, 1 reply; 6+ messages in thread
From: Marcin Slusarz @ 2008-08-03 16:52 UTC (permalink / raw)
  To: LKML; +Cc: Glauber Costa, Pavel Machek, Ingo Molnar

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

Signed-off-by: Marcin Slusarz <marcin.slusarz@gmail.com>
Cc: Glauber Costa <gcosta@redhat.com>
Cc: Pavel Machek <pavel@suse.cz>
Cc: Ingo Molnar <mingo@elte.hu>
---
 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..9103cb6 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
+#ifdef CONFIG_SMP
 static char temp_stack[10240];
 #endif
 
-- 
1.5.4.5


^ permalink raw reply related	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2008-08-15 14:41 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-08-03 16:52 [PATCH] x86, acpi: temp_stack is used only when CONFIG_SMP is set Marcin Slusarz
2008-08-03 17:07 ` Sven Wegener
2008-08-03 17:25   ` Marcin Slusarz
2008-08-07  8:12     ` Pavel Machek
2008-08-15 12:12       ` Marcin Slusarz
2008-08-15 14:41       ` Ingo Molnar

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.