Gitweb:     
http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=95625b8f19e1e030c7fe3c010407d90fa248c68f
Commit:     95625b8f19e1e030c7fe3c010407d90fa248c68f
Parent:     fe0f96020d5158b6579548666c842706ce3af371
Author:     Dave Jones <[EMAIL PROTECTED]>
AuthorDate: Sat Oct 21 01:37:39 2006 -0400
Committer:  Dave Jones <[EMAIL PROTECTED]>
CommitDate: Sat Oct 21 01:37:39 2006 -0400

    [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 <[EMAIL PROTECTED]>
---
 arch/i386/kernel/cpu/cpufreq/acpi-cpufreq.c       |    2 ++
 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 23f8353..60d20cf 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)
 {
diff --git a/arch/i386/kernel/cpu/cpufreq/speedstep-centrino.c 
b/arch/i386/kernel/cpu/cpufreq/speedstep-centrino.c
index f6afa23..d2d9caf 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)
 }
 
 
+#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
@@ -392,7 +393,6 @@ 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,
-
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to