projects
/
GitHub
/
LineageOS
/
G12
/
android_kernel_amlogic_linux-4.9.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d0a9081
)
ACPI: acpi-cpufreq: remove unused data when !CONFIG_SMP
author
Andrew Morton
<akpm@osdl.org>
Fri, 20 Oct 2006 21:30:30 +0000
(14:30 -0700)
committer
Len Brown
<len.brown@intel.com>
Sat, 21 Oct 2006 05:29:38 +0000
(
01:29
-0400)
acpi-cpufreq.c, speedstep-centrino.c: warning: 'sw_any_bug_dmi_table' defined but not used
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Len Brown <len.brown@intel.com>
arch/i386/kernel/cpu/cpufreq/acpi-cpufreq.c
patch
|
blob
|
blame
|
history
diff --git
a/arch/i386/kernel/cpu/cpufreq/acpi-cpufreq.c
b/arch/i386/kernel/cpu/cpufreq/acpi-cpufreq.c
index 57c880bf0bd69f4af7e0c2026f5ac12e2b9e2aa5..41e1289f8a429f7f776b0eb9cc61cf4bdd87cea2 100644
(file)
--- 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 (