projects
/
GitHub
/
LineageOS
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7bc069c
)
x86, acpi: cleanup, temp_stack is used only when CONFIG_SMP is set
author
Marcin Slusarz
<marcin.slusarz@gmail.com>
Sun, 3 Aug 2008 17:25:48 +0000
(19:25 +0200)
committer
Ingo Molnar
<mingo@elte.hu>
Fri, 15 Aug 2008 14:41:21 +0000
(16:41 +0200)
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>
arch/x86/kernel/acpi/sleep.c
patch
|
blob
|
blame
|
history
diff --git
a/arch/x86/kernel/acpi/sleep.c
b/arch/x86/kernel/acpi/sleep.c
index fa2161d5003b78ad6e7b021523efd7b761894602..81e5ab6542d8e454f315b8c24426e5ec74058756 100644
(file)
--- 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;
-#if
def CONFIG_64BIT
+#if
defined(CONFIG_SMP) && defined(CONFIG_64BIT)
static char temp_stack[10240];
#endif