diff options
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/cpufreq/Kconfig | 12 | ||||
-rw-r--r-- | drivers/cpufreq/Kconfig.arm | 11 | ||||
-rw-r--r-- | drivers/cpufreq/Kconfig.powerpc | 6 | ||||
-rw-r--r-- | drivers/cpufreq/Kconfig.x86 | 13 | ||||
-rw-r--r-- | drivers/cpufreq/Makefile | 5 | ||||
-rw-r--r-- | drivers/cpufreq/cpufreq.c | 2 | ||||
-rw-r--r-- | drivers/thermal/Kconfig | 1 |
7 files changed, 1 insertions, 49 deletions
diff --git a/drivers/cpufreq/Kconfig b/drivers/cpufreq/Kconfig index 2d06754f4a04..38093e272377 100644 --- a/drivers/cpufreq/Kconfig +++ b/drivers/cpufreq/Kconfig | |||
@@ -2,7 +2,6 @@ menu "CPU Frequency scaling" | |||
2 | 2 | ||
3 | config CPU_FREQ | 3 | config CPU_FREQ |
4 | bool "CPU Frequency scaling" | 4 | bool "CPU Frequency scaling" |
5 | select CPU_FREQ_TABLE | ||
6 | help | 5 | help |
7 | CPU Frequency scaling allows you to change the clock speed of | 6 | CPU Frequency scaling allows you to change the clock speed of |
8 | CPUs on the fly. This is a nice method to save power, because | 7 | CPUs on the fly. This is a nice method to save power, because |
@@ -18,15 +17,11 @@ config CPU_FREQ | |||
18 | 17 | ||
19 | if CPU_FREQ | 18 | if CPU_FREQ |
20 | 19 | ||
21 | config CPU_FREQ_TABLE | ||
22 | tristate | ||
23 | |||
24 | config CPU_FREQ_GOV_COMMON | 20 | config CPU_FREQ_GOV_COMMON |
25 | bool | 21 | bool |
26 | 22 | ||
27 | config CPU_FREQ_STAT | 23 | config CPU_FREQ_STAT |
28 | tristate "CPU frequency translation statistics" | 24 | tristate "CPU frequency translation statistics" |
29 | select CPU_FREQ_TABLE | ||
30 | default y | 25 | default y |
31 | help | 26 | help |
32 | This driver exports CPU frequency statistics information through sysfs | 27 | This driver exports CPU frequency statistics information through sysfs |
@@ -144,7 +139,6 @@ config CPU_FREQ_GOV_USERSPACE | |||
144 | 139 | ||
145 | config CPU_FREQ_GOV_ONDEMAND | 140 | config CPU_FREQ_GOV_ONDEMAND |
146 | tristate "'ondemand' cpufreq policy governor" | 141 | tristate "'ondemand' cpufreq policy governor" |
147 | select CPU_FREQ_TABLE | ||
148 | select CPU_FREQ_GOV_COMMON | 142 | select CPU_FREQ_GOV_COMMON |
149 | help | 143 | help |
150 | 'ondemand' - This driver adds a dynamic cpufreq policy governor. | 144 | 'ondemand' - This driver adds a dynamic cpufreq policy governor. |
@@ -188,7 +182,6 @@ config CPU_FREQ_GOV_CONSERVATIVE | |||
188 | config GENERIC_CPUFREQ_CPU0 | 182 | config GENERIC_CPUFREQ_CPU0 |
189 | tristate "Generic CPU0 cpufreq driver" | 183 | tristate "Generic CPU0 cpufreq driver" |
190 | depends on HAVE_CLK && REGULATOR && PM_OPP && OF | 184 | depends on HAVE_CLK && REGULATOR && PM_OPP && OF |
191 | select CPU_FREQ_TABLE | ||
192 | help | 185 | help |
193 | This adds a generic cpufreq driver for CPU0 frequency management. | 186 | This adds a generic cpufreq driver for CPU0 frequency management. |
194 | It supports both uniprocessor (UP) and symmetric multiprocessor (SMP) | 187 | It supports both uniprocessor (UP) and symmetric multiprocessor (SMP) |
@@ -224,7 +217,6 @@ depends on IA64 | |||
224 | 217 | ||
225 | config IA64_ACPI_CPUFREQ | 218 | config IA64_ACPI_CPUFREQ |
226 | tristate "ACPI Processor P-States driver" | 219 | tristate "ACPI Processor P-States driver" |
227 | select CPU_FREQ_TABLE | ||
228 | depends on ACPI_PROCESSOR | 220 | depends on ACPI_PROCESSOR |
229 | help | 221 | help |
230 | This driver adds a CPUFreq driver which utilizes the ACPI | 222 | This driver adds a CPUFreq driver which utilizes the ACPI |
@@ -241,7 +233,6 @@ depends on MIPS | |||
241 | 233 | ||
242 | config LOONGSON2_CPUFREQ | 234 | config LOONGSON2_CPUFREQ |
243 | tristate "Loongson2 CPUFreq Driver" | 235 | tristate "Loongson2 CPUFreq Driver" |
244 | select CPU_FREQ_TABLE | ||
245 | help | 236 | help |
246 | This option adds a CPUFreq driver for loongson processors which | 237 | This option adds a CPUFreq driver for loongson processors which |
247 | support software configurable cpu frequency. | 238 | support software configurable cpu frequency. |
@@ -263,7 +254,6 @@ menu "SPARC CPU frequency scaling drivers" | |||
263 | depends on SPARC64 | 254 | depends on SPARC64 |
264 | config SPARC_US3_CPUFREQ | 255 | config SPARC_US3_CPUFREQ |
265 | tristate "UltraSPARC-III CPU Frequency driver" | 256 | tristate "UltraSPARC-III CPU Frequency driver" |
266 | select CPU_FREQ_TABLE | ||
267 | help | 257 | help |
268 | This adds the CPUFreq driver for UltraSPARC-III processors. | 258 | This adds the CPUFreq driver for UltraSPARC-III processors. |
269 | 259 | ||
@@ -273,7 +263,6 @@ config SPARC_US3_CPUFREQ | |||
273 | 263 | ||
274 | config SPARC_US2E_CPUFREQ | 264 | config SPARC_US2E_CPUFREQ |
275 | tristate "UltraSPARC-IIe CPU Frequency driver" | 265 | tristate "UltraSPARC-IIe CPU Frequency driver" |
276 | select CPU_FREQ_TABLE | ||
277 | help | 266 | help |
278 | This adds the CPUFreq driver for UltraSPARC-IIe processors. | 267 | This adds the CPUFreq driver for UltraSPARC-IIe processors. |
279 | 268 | ||
@@ -286,7 +275,6 @@ menu "SH CPU Frequency scaling" | |||
286 | depends on SUPERH | 275 | depends on SUPERH |
287 | config SH_CPU_FREQ | 276 | config SH_CPU_FREQ |
288 | tristate "SuperH CPU Frequency driver" | 277 | tristate "SuperH CPU Frequency driver" |
289 | select CPU_FREQ_TABLE | ||
290 | help | 278 | help |
291 | This adds the cpufreq driver for SuperH. Any CPU that supports | 279 | This adds the cpufreq driver for SuperH. Any CPU that supports |
292 | clock rate rounding through the clock framework can use this | 280 | clock rate rounding through the clock framework can use this |
diff --git a/drivers/cpufreq/Kconfig.arm b/drivers/cpufreq/Kconfig.arm index 0fa204b244bd..701ec95ce954 100644 --- a/drivers/cpufreq/Kconfig.arm +++ b/drivers/cpufreq/Kconfig.arm | |||
@@ -5,7 +5,6 @@ | |||
5 | config ARM_BIG_LITTLE_CPUFREQ | 5 | config ARM_BIG_LITTLE_CPUFREQ |
6 | tristate "Generic ARM big LITTLE CPUfreq driver" | 6 | tristate "Generic ARM big LITTLE CPUfreq driver" |
7 | depends on ARM_CPU_TOPOLOGY && PM_OPP && HAVE_CLK | 7 | depends on ARM_CPU_TOPOLOGY && PM_OPP && HAVE_CLK |
8 | select CPU_FREQ_TABLE | ||
9 | help | 8 | help |
10 | This enables the Generic CPUfreq driver for ARM big.LITTLE platforms. | 9 | This enables the Generic CPUfreq driver for ARM big.LITTLE platforms. |
11 | 10 | ||
@@ -18,7 +17,6 @@ config ARM_DT_BL_CPUFREQ | |||
18 | 17 | ||
19 | config ARM_EXYNOS_CPUFREQ | 18 | config ARM_EXYNOS_CPUFREQ |
20 | bool | 19 | bool |
21 | select CPU_FREQ_TABLE | ||
22 | 20 | ||
23 | config ARM_EXYNOS4210_CPUFREQ | 21 | config ARM_EXYNOS4210_CPUFREQ |
24 | bool "SAMSUNG EXYNOS4210" | 22 | bool "SAMSUNG EXYNOS4210" |
@@ -58,7 +56,6 @@ config ARM_EXYNOS5440_CPUFREQ | |||
58 | depends on SOC_EXYNOS5440 | 56 | depends on SOC_EXYNOS5440 |
59 | depends on HAVE_CLK && PM_OPP && OF | 57 | depends on HAVE_CLK && PM_OPP && OF |
60 | default y | 58 | default y |
61 | select CPU_FREQ_TABLE | ||
62 | help | 59 | help |
63 | This adds the CPUFreq driver for Samsung EXYNOS5440 | 60 | This adds the CPUFreq driver for Samsung EXYNOS5440 |
64 | SoC. The nature of exynos5440 clock controller is | 61 | SoC. The nature of exynos5440 clock controller is |
@@ -85,7 +82,6 @@ config ARM_IMX6Q_CPUFREQ | |||
85 | tristate "Freescale i.MX6Q cpufreq support" | 82 | tristate "Freescale i.MX6Q cpufreq support" |
86 | depends on SOC_IMX6Q | 83 | depends on SOC_IMX6Q |
87 | depends on REGULATOR_ANATOP | 84 | depends on REGULATOR_ANATOP |
88 | select CPU_FREQ_TABLE | ||
89 | help | 85 | help |
90 | This adds cpufreq driver support for Freescale i.MX6Q SOC. | 86 | This adds cpufreq driver support for Freescale i.MX6Q SOC. |
91 | 87 | ||
@@ -101,7 +97,6 @@ config ARM_INTEGRATOR | |||
101 | 97 | ||
102 | config ARM_KIRKWOOD_CPUFREQ | 98 | config ARM_KIRKWOOD_CPUFREQ |
103 | def_bool ARCH_KIRKWOOD && OF | 99 | def_bool ARCH_KIRKWOOD && OF |
104 | select CPU_FREQ_TABLE | ||
105 | help | 100 | help |
106 | This adds the CPUFreq driver for Marvell Kirkwood | 101 | This adds the CPUFreq driver for Marvell Kirkwood |
107 | SoCs. | 102 | SoCs. |
@@ -110,7 +105,6 @@ config ARM_OMAP2PLUS_CPUFREQ | |||
110 | bool "TI OMAP2+" | 105 | bool "TI OMAP2+" |
111 | depends on ARCH_OMAP2PLUS | 106 | depends on ARCH_OMAP2PLUS |
112 | default ARCH_OMAP2PLUS | 107 | default ARCH_OMAP2PLUS |
113 | select CPU_FREQ_TABLE | ||
114 | 108 | ||
115 | config ARM_S3C_CPUFREQ | 109 | config ARM_S3C_CPUFREQ |
116 | bool | 110 | bool |
@@ -165,7 +159,6 @@ config ARM_S3C2412_CPUFREQ | |||
165 | config ARM_S3C2416_CPUFREQ | 159 | config ARM_S3C2416_CPUFREQ |
166 | bool "S3C2416 CPU Frequency scaling support" | 160 | bool "S3C2416 CPU Frequency scaling support" |
167 | depends on CPU_S3C2416 | 161 | depends on CPU_S3C2416 |
168 | select CPU_FREQ_TABLE | ||
169 | help | 162 | help |
170 | This adds the CPUFreq driver for the Samsung S3C2416 and | 163 | This adds the CPUFreq driver for the Samsung S3C2416 and |
171 | S3C2450 SoC. The S3C2416 supports changing the rate of the | 164 | S3C2450 SoC. The S3C2416 supports changing the rate of the |
@@ -196,7 +189,6 @@ config ARM_S3C2440_CPUFREQ | |||
196 | config ARM_S3C64XX_CPUFREQ | 189 | config ARM_S3C64XX_CPUFREQ |
197 | bool "Samsung S3C64XX" | 190 | bool "Samsung S3C64XX" |
198 | depends on CPU_S3C6410 | 191 | depends on CPU_S3C6410 |
199 | select CPU_FREQ_TABLE | ||
200 | default y | 192 | default y |
201 | help | 193 | help |
202 | This adds the CPUFreq driver for Samsung S3C6410 SoC. | 194 | This adds the CPUFreq driver for Samsung S3C6410 SoC. |
@@ -206,7 +198,6 @@ config ARM_S3C64XX_CPUFREQ | |||
206 | config ARM_S5PV210_CPUFREQ | 198 | config ARM_S5PV210_CPUFREQ |
207 | bool "Samsung S5PV210 and S5PC110" | 199 | bool "Samsung S5PV210 and S5PC110" |
208 | depends on CPU_S5PV210 | 200 | depends on CPU_S5PV210 |
209 | select CPU_FREQ_TABLE | ||
210 | default y | 201 | default y |
211 | help | 202 | help |
212 | This adds the CPUFreq driver for Samsung S5PV210 and | 203 | This adds the CPUFreq driver for Samsung S5PV210 and |
@@ -223,7 +214,6 @@ config ARM_SA1110_CPUFREQ | |||
223 | config ARM_SPEAR_CPUFREQ | 214 | config ARM_SPEAR_CPUFREQ |
224 | bool "SPEAr CPUFreq support" | 215 | bool "SPEAr CPUFreq support" |
225 | depends on PLAT_SPEAR | 216 | depends on PLAT_SPEAR |
226 | select CPU_FREQ_TABLE | ||
227 | default y | 217 | default y |
228 | help | 218 | help |
229 | This adds the CPUFreq driver support for SPEAr SOCs. | 219 | This adds the CPUFreq driver support for SPEAr SOCs. |
@@ -231,7 +221,6 @@ config ARM_SPEAR_CPUFREQ | |||
231 | config ARM_TEGRA_CPUFREQ | 221 | config ARM_TEGRA_CPUFREQ |
232 | bool "TEGRA CPUFreq support" | 222 | bool "TEGRA CPUFreq support" |
233 | depends on ARCH_TEGRA | 223 | depends on ARCH_TEGRA |
234 | select CPU_FREQ_TABLE | ||
235 | default y | 224 | default y |
236 | help | 225 | help |
237 | This adds the CPUFreq driver support for TEGRA SOCs. | 226 | This adds the CPUFreq driver support for TEGRA SOCs. |
diff --git a/drivers/cpufreq/Kconfig.powerpc b/drivers/cpufreq/Kconfig.powerpc index 25ca9db62e09..ca0021a96e19 100644 --- a/drivers/cpufreq/Kconfig.powerpc +++ b/drivers/cpufreq/Kconfig.powerpc | |||
@@ -1,7 +1,6 @@ | |||
1 | config CPU_FREQ_CBE | 1 | config CPU_FREQ_CBE |
2 | tristate "CBE frequency scaling" | 2 | tristate "CBE frequency scaling" |
3 | depends on CBE_RAS && PPC_CELL | 3 | depends on CBE_RAS && PPC_CELL |
4 | select CPU_FREQ_TABLE | ||
5 | default m | 4 | default m |
6 | help | 5 | help |
7 | This adds the cpufreq driver for Cell BE processors. | 6 | This adds the cpufreq driver for Cell BE processors. |
@@ -20,7 +19,6 @@ config CPU_FREQ_CBE_PMI | |||
20 | config CPU_FREQ_MAPLE | 19 | config CPU_FREQ_MAPLE |
21 | bool "Support for Maple 970FX Evaluation Board" | 20 | bool "Support for Maple 970FX Evaluation Board" |
22 | depends on PPC_MAPLE | 21 | depends on PPC_MAPLE |
23 | select CPU_FREQ_TABLE | ||
24 | help | 22 | help |
25 | This adds support for frequency switching on Maple 970FX | 23 | This adds support for frequency switching on Maple 970FX |
26 | Evaluation Board and compatible boards (IBM JS2x blades). | 24 | Evaluation Board and compatible boards (IBM JS2x blades). |
@@ -28,7 +26,6 @@ config CPU_FREQ_MAPLE | |||
28 | config PPC_CORENET_CPUFREQ | 26 | config PPC_CORENET_CPUFREQ |
29 | tristate "CPU frequency scaling driver for Freescale E500MC SoCs" | 27 | tristate "CPU frequency scaling driver for Freescale E500MC SoCs" |
30 | depends on PPC_E500MC && OF && COMMON_CLK | 28 | depends on PPC_E500MC && OF && COMMON_CLK |
31 | select CPU_FREQ_TABLE | ||
32 | select CLK_PPC_CORENET | 29 | select CLK_PPC_CORENET |
33 | help | 30 | help |
34 | This adds the CPUFreq driver support for Freescale e500mc, | 31 | This adds the CPUFreq driver support for Freescale e500mc, |
@@ -38,7 +35,6 @@ config PPC_CORENET_CPUFREQ | |||
38 | config CPU_FREQ_PMAC | 35 | config CPU_FREQ_PMAC |
39 | bool "Support for Apple PowerBooks" | 36 | bool "Support for Apple PowerBooks" |
40 | depends on ADB_PMU && PPC32 | 37 | depends on ADB_PMU && PPC32 |
41 | select CPU_FREQ_TABLE | ||
42 | help | 38 | help |
43 | This adds support for frequency switching on Apple PowerBooks, | 39 | This adds support for frequency switching on Apple PowerBooks, |
44 | this currently includes some models of iBook & Titanium | 40 | this currently includes some models of iBook & Titanium |
@@ -47,7 +43,6 @@ config CPU_FREQ_PMAC | |||
47 | config CPU_FREQ_PMAC64 | 43 | config CPU_FREQ_PMAC64 |
48 | bool "Support for some Apple G5s" | 44 | bool "Support for some Apple G5s" |
49 | depends on PPC_PMAC && PPC64 | 45 | depends on PPC_PMAC && PPC64 |
50 | select CPU_FREQ_TABLE | ||
51 | help | 46 | help |
52 | This adds support for frequency switching on Apple iMac G5, | 47 | This adds support for frequency switching on Apple iMac G5, |
53 | and some of the more recent desktop G5 machines as well. | 48 | and some of the more recent desktop G5 machines as well. |
@@ -55,7 +50,6 @@ config CPU_FREQ_PMAC64 | |||
55 | config PPC_PASEMI_CPUFREQ | 50 | config PPC_PASEMI_CPUFREQ |
56 | bool "Support for PA Semi PWRficient" | 51 | bool "Support for PA Semi PWRficient" |
57 | depends on PPC_PASEMI | 52 | depends on PPC_PASEMI |
58 | select CPU_FREQ_TABLE | ||
59 | default y | 53 | default y |
60 | help | 54 | help |
61 | This adds the support for frequency switching on PA Semi | 55 | This adds the support for frequency switching on PA Semi |
diff --git a/drivers/cpufreq/Kconfig.x86 b/drivers/cpufreq/Kconfig.x86 index e2b6eabef221..6897ad85b046 100644 --- a/drivers/cpufreq/Kconfig.x86 +++ b/drivers/cpufreq/Kconfig.x86 | |||
@@ -31,7 +31,6 @@ config X86_PCC_CPUFREQ | |||
31 | 31 | ||
32 | config X86_ACPI_CPUFREQ | 32 | config X86_ACPI_CPUFREQ |
33 | tristate "ACPI Processor P-States driver" | 33 | tristate "ACPI Processor P-States driver" |
34 | select CPU_FREQ_TABLE | ||
35 | depends on ACPI_PROCESSOR | 34 | depends on ACPI_PROCESSOR |
36 | help | 35 | help |
37 | This driver adds a CPUFreq driver which utilizes the ACPI | 36 | This driver adds a CPUFreq driver which utilizes the ACPI |
@@ -60,7 +59,6 @@ config X86_ACPI_CPUFREQ_CPB | |||
60 | 59 | ||
61 | config ELAN_CPUFREQ | 60 | config ELAN_CPUFREQ |
62 | tristate "AMD Elan SC400 and SC410" | 61 | tristate "AMD Elan SC400 and SC410" |
63 | select CPU_FREQ_TABLE | ||
64 | depends on MELAN | 62 | depends on MELAN |
65 | ---help--- | 63 | ---help--- |
66 | This adds the CPUFreq driver for AMD Elan SC400 and SC410 | 64 | This adds the CPUFreq driver for AMD Elan SC400 and SC410 |
@@ -76,7 +74,6 @@ config ELAN_CPUFREQ | |||
76 | 74 | ||
77 | config SC520_CPUFREQ | 75 | config SC520_CPUFREQ |
78 | tristate "AMD Elan SC520" | 76 | tristate "AMD Elan SC520" |
79 | select CPU_FREQ_TABLE | ||
80 | depends on MELAN | 77 | depends on MELAN |
81 | ---help--- | 78 | ---help--- |
82 | This adds the CPUFreq driver for AMD Elan SC520 processor. | 79 | This adds the CPUFreq driver for AMD Elan SC520 processor. |
@@ -88,7 +85,6 @@ config SC520_CPUFREQ | |||
88 | 85 | ||
89 | config X86_POWERNOW_K6 | 86 | config X86_POWERNOW_K6 |
90 | tristate "AMD Mobile K6-2/K6-3 PowerNow!" | 87 | tristate "AMD Mobile K6-2/K6-3 PowerNow!" |
91 | select CPU_FREQ_TABLE | ||
92 | depends on X86_32 | 88 | depends on X86_32 |
93 | help | 89 | help |
94 | This adds the CPUFreq driver for mobile AMD K6-2+ and mobile | 90 | This adds the CPUFreq driver for mobile AMD K6-2+ and mobile |
@@ -100,7 +96,6 @@ config X86_POWERNOW_K6 | |||
100 | 96 | ||
101 | config X86_POWERNOW_K7 | 97 | config X86_POWERNOW_K7 |
102 | tristate "AMD Mobile Athlon/Duron PowerNow!" | 98 | tristate "AMD Mobile Athlon/Duron PowerNow!" |
103 | select CPU_FREQ_TABLE | ||
104 | depends on X86_32 | 99 | depends on X86_32 |
105 | help | 100 | help |
106 | This adds the CPUFreq driver for mobile AMD K7 mobile processors. | 101 | This adds the CPUFreq driver for mobile AMD K7 mobile processors. |
@@ -118,7 +113,6 @@ config X86_POWERNOW_K7_ACPI | |||
118 | 113 | ||
119 | config X86_POWERNOW_K8 | 114 | config X86_POWERNOW_K8 |
120 | tristate "AMD Opteron/Athlon64 PowerNow!" | 115 | tristate "AMD Opteron/Athlon64 PowerNow!" |
121 | select CPU_FREQ_TABLE | ||
122 | depends on ACPI && ACPI_PROCESSOR && X86_ACPI_CPUFREQ | 116 | depends on ACPI && ACPI_PROCESSOR && X86_ACPI_CPUFREQ |
123 | help | 117 | help |
124 | This adds the CPUFreq driver for K8/early Opteron/Athlon64 processors. | 118 | This adds the CPUFreq driver for K8/early Opteron/Athlon64 processors. |
@@ -132,7 +126,6 @@ config X86_POWERNOW_K8 | |||
132 | config X86_AMD_FREQ_SENSITIVITY | 126 | config X86_AMD_FREQ_SENSITIVITY |
133 | tristate "AMD frequency sensitivity feedback powersave bias" | 127 | tristate "AMD frequency sensitivity feedback powersave bias" |
134 | depends on CPU_FREQ_GOV_ONDEMAND && X86_ACPI_CPUFREQ && CPU_SUP_AMD | 128 | depends on CPU_FREQ_GOV_ONDEMAND && X86_ACPI_CPUFREQ && CPU_SUP_AMD |
135 | select CPU_FREQ_TABLE | ||
136 | help | 129 | help |
137 | This adds AMD-specific powersave bias function to the ondemand | 130 | This adds AMD-specific powersave bias function to the ondemand |
138 | governor, which allows it to make more power-conscious frequency | 131 | governor, which allows it to make more power-conscious frequency |
@@ -160,7 +153,6 @@ config X86_GX_SUSPMOD | |||
160 | 153 | ||
161 | config X86_SPEEDSTEP_CENTRINO | 154 | config X86_SPEEDSTEP_CENTRINO |
162 | tristate "Intel Enhanced SpeedStep (deprecated)" | 155 | tristate "Intel Enhanced SpeedStep (deprecated)" |
163 | select CPU_FREQ_TABLE | ||
164 | select X86_SPEEDSTEP_CENTRINO_TABLE if X86_32 | 156 | select X86_SPEEDSTEP_CENTRINO_TABLE if X86_32 |
165 | depends on X86_32 || (X86_64 && ACPI_PROCESSOR) | 157 | depends on X86_32 || (X86_64 && ACPI_PROCESSOR) |
166 | help | 158 | help |
@@ -190,7 +182,6 @@ config X86_SPEEDSTEP_CENTRINO_TABLE | |||
190 | 182 | ||
191 | config X86_SPEEDSTEP_ICH | 183 | config X86_SPEEDSTEP_ICH |
192 | tristate "Intel Speedstep on ICH-M chipsets (ioport interface)" | 184 | tristate "Intel Speedstep on ICH-M chipsets (ioport interface)" |
193 | select CPU_FREQ_TABLE | ||
194 | depends on X86_32 | 185 | depends on X86_32 |
195 | help | 186 | help |
196 | This adds the CPUFreq driver for certain mobile Intel Pentium III | 187 | This adds the CPUFreq driver for certain mobile Intel Pentium III |
@@ -204,7 +195,6 @@ config X86_SPEEDSTEP_ICH | |||
204 | 195 | ||
205 | config X86_SPEEDSTEP_SMI | 196 | config X86_SPEEDSTEP_SMI |
206 | tristate "Intel SpeedStep on 440BX/ZX/MX chipsets (SMI interface)" | 197 | tristate "Intel SpeedStep on 440BX/ZX/MX chipsets (SMI interface)" |
207 | select CPU_FREQ_TABLE | ||
208 | depends on X86_32 | 198 | depends on X86_32 |
209 | help | 199 | help |
210 | This adds the CPUFreq driver for certain mobile Intel Pentium III | 200 | This adds the CPUFreq driver for certain mobile Intel Pentium III |
@@ -217,7 +207,6 @@ config X86_SPEEDSTEP_SMI | |||
217 | 207 | ||
218 | config X86_P4_CLOCKMOD | 208 | config X86_P4_CLOCKMOD |
219 | tristate "Intel Pentium 4 clock modulation" | 209 | tristate "Intel Pentium 4 clock modulation" |
220 | select CPU_FREQ_TABLE | ||
221 | help | 210 | help |
222 | This adds the CPUFreq driver for Intel Pentium 4 / XEON | 211 | This adds the CPUFreq driver for Intel Pentium 4 / XEON |
223 | processors. When enabled it will lower CPU temperature by skipping | 212 | processors. When enabled it will lower CPU temperature by skipping |
@@ -259,7 +248,6 @@ config X86_LONGRUN | |||
259 | 248 | ||
260 | config X86_LONGHAUL | 249 | config X86_LONGHAUL |
261 | tristate "VIA Cyrix III Longhaul" | 250 | tristate "VIA Cyrix III Longhaul" |
262 | select CPU_FREQ_TABLE | ||
263 | depends on X86_32 && ACPI_PROCESSOR | 251 | depends on X86_32 && ACPI_PROCESSOR |
264 | help | 252 | help |
265 | This adds the CPUFreq driver for VIA Samuel/CyrixIII, | 253 | This adds the CPUFreq driver for VIA Samuel/CyrixIII, |
@@ -272,7 +260,6 @@ config X86_LONGHAUL | |||
272 | 260 | ||
273 | config X86_E_POWERSAVER | 261 | config X86_E_POWERSAVER |
274 | tristate "VIA C7 Enhanced PowerSaver (DANGEROUS)" | 262 | tristate "VIA C7 Enhanced PowerSaver (DANGEROUS)" |
275 | select CPU_FREQ_TABLE | ||
276 | depends on X86_32 && ACPI_PROCESSOR | 263 | depends on X86_32 && ACPI_PROCESSOR |
277 | help | 264 | help |
278 | This adds the CPUFreq driver for VIA C7 processors. However, this driver | 265 | This adds the CPUFreq driver for VIA C7 processors. However, this driver |
diff --git a/drivers/cpufreq/Makefile b/drivers/cpufreq/Makefile index ad5866c2ada0..b7948bbbbf1f 100644 --- a/drivers/cpufreq/Makefile +++ b/drivers/cpufreq/Makefile | |||
@@ -1,5 +1,5 @@ | |||
1 | # CPUfreq core | 1 | # CPUfreq core |
2 | obj-$(CONFIG_CPU_FREQ) += cpufreq.o | 2 | obj-$(CONFIG_CPU_FREQ) += cpufreq.o freq_table.o |
3 | # CPUfreq stats | 3 | # CPUfreq stats |
4 | obj-$(CONFIG_CPU_FREQ_STAT) += cpufreq_stats.o | 4 | obj-$(CONFIG_CPU_FREQ_STAT) += cpufreq_stats.o |
5 | 5 | ||
@@ -11,9 +11,6 @@ obj-$(CONFIG_CPU_FREQ_GOV_ONDEMAND) += cpufreq_ondemand.o | |||
11 | obj-$(CONFIG_CPU_FREQ_GOV_CONSERVATIVE) += cpufreq_conservative.o | 11 | obj-$(CONFIG_CPU_FREQ_GOV_CONSERVATIVE) += cpufreq_conservative.o |
12 | obj-$(CONFIG_CPU_FREQ_GOV_COMMON) += cpufreq_governor.o | 12 | obj-$(CONFIG_CPU_FREQ_GOV_COMMON) += cpufreq_governor.o |
13 | 13 | ||
14 | # CPUfreq cross-arch helpers | ||
15 | obj-$(CONFIG_CPU_FREQ_TABLE) += freq_table.o | ||
16 | |||
17 | obj-$(CONFIG_GENERIC_CPUFREQ_CPU0) += cpufreq-cpu0.o | 14 | obj-$(CONFIG_GENERIC_CPUFREQ_CPU0) += cpufreq-cpu0.o |
18 | 15 | ||
19 | ################################################################################## | 16 | ################################################################################## |
diff --git a/drivers/cpufreq/cpufreq.c b/drivers/cpufreq/cpufreq.c index 985f325adc4f..f0897c75468b 100644 --- a/drivers/cpufreq/cpufreq.c +++ b/drivers/cpufreq/cpufreq.c | |||
@@ -986,9 +986,7 @@ static void update_policy_cpu(struct cpufreq_policy *policy, unsigned int cpu) | |||
986 | 986 | ||
987 | up_write(&per_cpu(cpu_policy_rwsem, policy->last_cpu)); | 987 | up_write(&per_cpu(cpu_policy_rwsem, policy->last_cpu)); |
988 | 988 | ||
989 | #ifdef CONFIG_CPU_FREQ_TABLE | ||
990 | cpufreq_frequency_table_update_policy_cpu(policy); | 989 | cpufreq_frequency_table_update_policy_cpu(policy); |
991 | #endif | ||
992 | blocking_notifier_call_chain(&cpufreq_policy_notifier_list, | 990 | blocking_notifier_call_chain(&cpufreq_policy_notifier_list, |
993 | CPUFREQ_UPDATE_POLICY_CPU, policy); | 991 | CPUFREQ_UPDATE_POLICY_CPU, policy); |
994 | } | 992 | } |
diff --git a/drivers/thermal/Kconfig b/drivers/thermal/Kconfig index dbfc390330ac..5ef596765060 100644 --- a/drivers/thermal/Kconfig +++ b/drivers/thermal/Kconfig | |||
@@ -78,7 +78,6 @@ config THERMAL_GOV_USER_SPACE | |||
78 | config CPU_THERMAL | 78 | config CPU_THERMAL |
79 | bool "generic cpu cooling support" | 79 | bool "generic cpu cooling support" |
80 | depends on CPU_FREQ | 80 | depends on CPU_FREQ |
81 | select CPU_FREQ_TABLE | ||
82 | help | 81 | help |
83 | This implements the generic cpu cooling mechanism through frequency | 82 | This implements the generic cpu cooling mechanism through frequency |
84 | reduction. An ACPI version of this already exists | 83 | reduction. An ACPI version of this already exists |