aboutsummaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorAndrew Morton <akpm@osdl.org>2006-10-20 17:30:30 -0400
committerLen Brown <len.brown@intel.com>2006-10-21 01:29:38 -0400
commit5c5e81aaa821822309fd2663c22c94ca0802e407 (patch)
treec9af7e4e4868385ae0942a33619400e9be2ff691 /arch
parentd0a9081b1e75ba62bb4450c5b8e8299a41d25278 (diff)
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 57c880bf0bd6..41e1289f8a42 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)
402 return 0; 402 return 0;
403} 403}
404 404
405#ifdef CONFIG_SMP
405static struct dmi_system_id sw_any_bug_dmi_table[] = { 406static struct dmi_system_id sw_any_bug_dmi_table[] = {
406 { 407 {
407 .callback = sw_any_bug_found, 408 .callback = sw_any_bug_found,
@@ -414,6 +415,7 @@ static struct dmi_system_id sw_any_bug_dmi_table[] = {
414 }, 415 },
415 { } 416 { }
416}; 417};
418#endif
417 419
418static int 420static int
419acpi_cpufreq_cpu_init ( 421acpi_cpufreq_cpu_init (