[CPUFREQ] ifdef more unused on !SMP code.
[firefly-linux-kernel-4.4.55.git] / arch / i386 / kernel / cpu / cpufreq / acpi-cpufreq.c
index 23f83531524d17b49fad72f84a35169aa8635b40..60d20cf427aa19748f904c9626950b7d5ce0dac0 100644 (file)
@@ -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)
 {