diff options
-rw-r--r-- | arch/i386/kernel/cpu/cpufreq/acpi-cpufreq.c | 2 | ||||
-rw-r--r-- | arch/i386/kernel/cpu/cpufreq/speedstep-centrino.c | 2 |
2 files changed, 3 insertions, 1 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) | |||
554 | return 0; | 554 | return 0; |
555 | } | 555 | } |
556 | 556 | ||
557 | #ifdef CONFIG_SMP | ||
557 | /* | 558 | /* |
558 | * Some BIOSes do SW_ANY coordination internally, either set it up in hw | 559 | * Some BIOSes do SW_ANY coordination internally, either set it up in hw |
559 | * or do it in BIOS firmware and won't inform about it to OS. If not | 560 | * 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[] = { | |||
580 | }, | 581 | }, |
581 | { } | 582 | { } |
582 | }; | 583 | }; |
584 | #endif | ||
583 | 585 | ||
584 | static int acpi_cpufreq_cpu_init(struct cpufreq_policy *policy) | 586 | static int acpi_cpufreq_cpu_init(struct cpufreq_policy *policy) |
585 | { | 587 | { |
diff --git a/arch/i386/kernel/cpu/cpufreq/speedstep-centrino.c b/arch/i386/kernel/cpu/cpufreq/speedstep-centrino.c index f6afa239d513..d2d9caf00a2f 100644 --- a/arch/i386/kernel/cpu/cpufreq/speedstep-centrino.c +++ b/arch/i386/kernel/cpu/cpufreq/speedstep-centrino.c | |||
@@ -379,6 +379,7 @@ static int centrino_cpu_early_init_acpi(void) | |||
379 | } | 379 | } |
380 | 380 | ||
381 | 381 | ||
382 | #ifdef CONFIG_SMP | ||
382 | /* | 383 | /* |
383 | * Some BIOSes do SW_ANY coordination internally, either set it up in hw | 384 | * Some BIOSes do SW_ANY coordination internally, either set it up in hw |
384 | * or do it in BIOS firmware and won't inform about it to OS. If not | 385 | * or do it in BIOS firmware and won't inform about it to OS. If not |
@@ -392,7 +393,6 @@ static int sw_any_bug_found(struct dmi_system_id *d) | |||
392 | return 0; | 393 | return 0; |
393 | } | 394 | } |
394 | 395 | ||
395 | #ifdef CONFIG_SMP | ||
396 | static struct dmi_system_id sw_any_bug_dmi_table[] = { | 396 | static struct dmi_system_id sw_any_bug_dmi_table[] = { |
397 | { | 397 | { |
398 | .callback = sw_any_bug_found, | 398 | .callback = sw_any_bug_found, |