* [PATCH] idle.c fix unused var compile warning
@ 2005-12-16 15:11 Clemens Koller
0 siblings, 0 replies; only message in thread
From: Clemens Koller @ 2005-12-16 15:11 UTC (permalink / raw)
To: linux-kernel
[-- Attachment #1: Type: text/plain, Size: 143 bytes --]
This fixes a little warning about unused cpu variable for non SMP PPC systems.
Signed-off-by: Clemens Koller <clemens.koller@anagramm.de>
--
[-- Attachment #2: idle_c-fix-unused-var-warning.patch --]
[-- Type: text/plain, Size: 319 bytes --]
--- linux-2.6/arch/ppc/kernel/idle.c.ori 2005-12-14 12:27:26.000000000 +0100
+++ linux-2.6/arch/ppc/kernel/idle.c 2005-12-16 16:02:18.000000000 +0100
@@ -37,7 +37,9 @@
void default_idle(void)
{
void (*powersave)(void);
+#ifdef CONFIG_SMP
int cpu = smp_processor_id();
+#endif
powersave = ppc_md.power_save;
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2005-12-16 15:11 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-12-16 15:11 [PATCH] idle.c fix unused var compile warning Clemens Koller
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.