* [patch 2.6.19-rc6] fix warning in speedstep-centrino.c
@ 2006-11-17 16:36 Holger Schurig
0 siblings, 0 replies; only message in thread
From: Holger Schurig @ 2006-11-17 16:36 UTC (permalink / raw)
To: linux-kernel
Fixes warning: 'sw_any_bug_dmi_table' defined but not used
Signed-off-by: Holger Schurig <hs4233@mail.mn-solutions.de>
--- linux.orig/arch/i386/kernel/cpu/cpufreq/speedstep-centrino.c
+++ linux/arch/i386/kernel/cpu/cpufreq/speedstep-centrino.c
@@ -385,6 +385,7 @@
* detected, this has a side effect of making CPU run at a different speed
* than OS intended it to run at. Detect it and handle it cleanly.
*/
+#ifdef CONFIG_SMP
static int bios_with_sw_any_bug;
static int sw_any_bug_found(struct dmi_system_id *d)
{
@@ -405,6 +406,7 @@
},
{ }
};
+#endif
/*
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2006-11-17 16:36 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-11-17 16:36 [patch 2.6.19-rc6] fix warning in speedstep-centrino.c Holger Schurig
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®