diff options
author | Dave Jones <davej@redhat.com> | 2006-10-21 01:37:39 -0400 |
---|---|---|
committer | Dave Jones <davej@redhat.com> | 2006-10-21 01:37:39 -0400 |
commit | 95625b8f19e1e030c7fe3c010407d90fa248c68f (patch) | |
tree | 1c444527757b74e7d34e0434e9e5f5123fe281f3 /arch/i386/kernel/cpu/cpufreq/acpi-cpufreq.c | |
parent | fe0f96020d5158b6579548666c842706ce3af371 (diff) | |
download | lwn-95625b8f19e1e030c7fe3c010407d90fa248c68f.tar.gz lwn-95625b8f19e1e030c7fe3c010407d90fa248c68f.zip |
[CPUFREQ] ifdef more unused on !SMP code.
acpi-cpufreq needs the same patch as the previous speedstep-centrino change.
Additionally, the centrino driver can have its ifdef moved out a little
further to eliminate some more code/variables.
Signed-off-by: Dave Jones <davej@redhat.com>
Diffstat (limited to 'arch/i386/kernel/cpu/cpufreq/acpi-cpufreq.c')
-rw-r--r-- | arch/i386/kernel/cpu/cpufreq/acpi-cpufreq.c | 2 |
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 23f83531524d..60d20cf427aa 100644 --- a/arch/i386/kernel/cpu/cpufreq/acpi-cpufreq.c +++ b/arch/i386/kernel/cpu/cpufreq/acpi-cpufreq.c @@ -554,6 +554,7 @@ static int acpi_cpufreq_early_init(void) return 0; } +#ifdef CONFIG_SMP /* * Some BIOSes do SW_ANY coordination internally, either set it up in hw * or do it in BIOS firmware and won't inform about it to OS. If not @@ -580,6 +581,7 @@ static struct dmi_system_id sw_any_bug_dmi_table[] = { }, { } }; +#endif static int acpi_cpufreq_cpu_init(struct cpufreq_policy *policy) { |