Gitweb:     
http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=5c5e81aaa821822309fd2663c22c94ca0802e407
Commit:     5c5e81aaa821822309fd2663c22c94ca0802e407
Parent:     d0a9081b1e75ba62bb4450c5b8e8299a41d25278
Author:     Andrew Morton <[EMAIL PROTECTED]>
AuthorDate: Fri Oct 20 14:30:30 2006 -0700
Committer:  Len Brown <[EMAIL PROTECTED]>
CommitDate: Sat Oct 21 01:29:38 2006 -0400

    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 <[EMAIL PROTECTED]>
    Signed-off-by: Len Brown <[EMAIL PROTECTED]>
---
 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 57c880b..41e1289 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)
        return 0;
 }
 
+#ifdef CONFIG_SMP
 static struct dmi_system_id sw_any_bug_dmi_table[] = {
        {
                .callback = sw_any_bug_found,
@@ -414,6 +415,7 @@ static struct dmi_system_id sw_any_bug_dmi_table[] = {
        },
        { }
 };
+#endif
 
 static int
 acpi_cpufreq_cpu_init (
-
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