summaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorAndrew Morton <akpm@osdl.org>2006-10-20 14:30:30 -0700
committerLen Brown <len.brown@intel.com>2006-10-21 01:29:38 -0400
commit5c5e81aaa821822309fd2663c22c94ca0802e407 (patch)
treec9af7e4e4868385ae0942a33619400e9be2ff691 /arch
parentd0a9081b1e75ba62bb4450c5b8e8299a41d25278 (diff)
downloadop-kernel-dev-5c5e81aaa821822309fd2663c22c94ca0802e407.zip
op-kernel-dev-5c5e81aaa821822309fd2663c22c94ca0802e407.tar.gz
ACPI: acpi-cpufreq: remove unused data when !CONFIG_SMP
acpi-cpufreq.c, speedstep-centrino.c: warning: 'sw_any_bug_dmi_table' defined but not used Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Len Brown <len.brown@intel.com>
Diffstat (limited to 'arch')
-rw-r--r--arch/i386/kernel/cpu/cpufreq/acpi-cpufreq.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/i386/kernel/cpu/cpufreq/acpi-cpufreq.c b/arch/i386/kernel/cpu/cpufreq/acpi-cpufreq.c
index 57c880b..41e1289 100644
--- a/arch/i386/kernel/cpu/cpufreq/acpi-cpufreq.c
+++ b/arch/i386/kernel/cpu/cpufreq/acpi-cpufreq.c
@@ -402,6 +402,7 @@ static int sw_any_bug_found(struct dmi_system_id *d)
return 0;
}
+#ifdef CONFIG_SMP
static struct dmi_system_id sw_any_bug_dmi_table[] = {
{
.callback = sw_any_bug_found,
@@ -414,6 +415,7 @@ static struct dmi_system_id sw_any_bug_dmi_table[] = {
},
{ }
};
+#endif
static int
acpi_cpufreq_cpu_init (
OpenPOWER on IntegriCloud