diff options
-rw-r--r-- | arch/ia64/Kconfig | 6 | ||||
-rw-r--r-- | arch/ia64/kernel/Makefile | 1 | ||||
-rw-r--r-- | arch/ia64/kernel/cpufreq/Kconfig | 29 | ||||
-rw-r--r-- | arch/ia64/kernel/cpufreq/Makefile | 2 | ||||
-rw-r--r-- | drivers/cpufreq/Kconfig | 17 | ||||
-rw-r--r-- | drivers/cpufreq/Makefile | 1 | ||||
-rw-r--r-- | drivers/cpufreq/ia64-acpi-cpufreq.c (renamed from arch/ia64/kernel/cpufreq/acpi-cpufreq.c) | 1 |
7 files changed, 21 insertions, 36 deletions
diff --git a/arch/ia64/Kconfig b/arch/ia64/Kconfig index 9a02f71c6b1f..152b5f29d048 100644 --- a/arch/ia64/Kconfig +++ b/arch/ia64/Kconfig | |||
@@ -591,9 +591,9 @@ source "kernel/power/Kconfig" | |||
591 | source "drivers/acpi/Kconfig" | 591 | source "drivers/acpi/Kconfig" |
592 | 592 | ||
593 | if PM | 593 | if PM |
594 | 594 | menu "CPU Frequency scaling" | |
595 | source "arch/ia64/kernel/cpufreq/Kconfig" | 595 | source "drivers/cpufreq/Kconfig" |
596 | 596 | endmenu | |
597 | endif | 597 | endif |
598 | 598 | ||
599 | endmenu | 599 | endmenu |
diff --git a/arch/ia64/kernel/Makefile b/arch/ia64/kernel/Makefile index d959c84904be..20678a9ed11a 100644 --- a/arch/ia64/kernel/Makefile +++ b/arch/ia64/kernel/Makefile | |||
@@ -23,7 +23,6 @@ obj-$(CONFIG_SMP) += smp.o smpboot.o | |||
23 | obj-$(CONFIG_NUMA) += numa.o | 23 | obj-$(CONFIG_NUMA) += numa.o |
24 | obj-$(CONFIG_PERFMON) += perfmon_default_smpl.o | 24 | obj-$(CONFIG_PERFMON) += perfmon_default_smpl.o |
25 | obj-$(CONFIG_IA64_CYCLONE) += cyclone.o | 25 | obj-$(CONFIG_IA64_CYCLONE) += cyclone.o |
26 | obj-$(CONFIG_CPU_FREQ) += cpufreq/ | ||
27 | obj-$(CONFIG_IA64_MCA_RECOVERY) += mca_recovery.o | 26 | obj-$(CONFIG_IA64_MCA_RECOVERY) += mca_recovery.o |
28 | obj-$(CONFIG_KPROBES) += kprobes.o jprobes.o | 27 | obj-$(CONFIG_KPROBES) += kprobes.o jprobes.o |
29 | obj-$(CONFIG_DYNAMIC_FTRACE) += ftrace.o | 28 | obj-$(CONFIG_DYNAMIC_FTRACE) += ftrace.o |
diff --git a/arch/ia64/kernel/cpufreq/Kconfig b/arch/ia64/kernel/cpufreq/Kconfig deleted file mode 100644 index 2d9d5279b981..000000000000 --- a/arch/ia64/kernel/cpufreq/Kconfig +++ /dev/null | |||
@@ -1,29 +0,0 @@ | |||
1 | |||
2 | # | ||
3 | # CPU Frequency scaling | ||
4 | # | ||
5 | |||
6 | menu "CPU Frequency scaling" | ||
7 | |||
8 | source "drivers/cpufreq/Kconfig" | ||
9 | |||
10 | if CPU_FREQ | ||
11 | |||
12 | comment "CPUFreq processor drivers" | ||
13 | |||
14 | config IA64_ACPI_CPUFREQ | ||
15 | tristate "ACPI Processor P-States driver" | ||
16 | select CPU_FREQ_TABLE | ||
17 | depends on ACPI_PROCESSOR | ||
18 | help | ||
19 | This driver adds a CPUFreq driver which utilizes the ACPI | ||
20 | Processor Performance States. | ||
21 | |||
22 | For details, take a look at <file:Documentation/cpu-freq/>. | ||
23 | |||
24 | If in doubt, say N. | ||
25 | |||
26 | endif # CPU_FREQ | ||
27 | |||
28 | endmenu | ||
29 | |||
diff --git a/arch/ia64/kernel/cpufreq/Makefile b/arch/ia64/kernel/cpufreq/Makefile deleted file mode 100644 index 4838f2a57c7a..000000000000 --- a/arch/ia64/kernel/cpufreq/Makefile +++ /dev/null | |||
@@ -1,2 +0,0 @@ | |||
1 | obj-$(CONFIG_IA64_ACPI_CPUFREQ) += acpi-cpufreq.o | ||
2 | |||
diff --git a/drivers/cpufreq/Kconfig b/drivers/cpufreq/Kconfig index d7ce6ccf5c91..a2f1600c78f8 100644 --- a/drivers/cpufreq/Kconfig +++ b/drivers/cpufreq/Kconfig | |||
@@ -218,6 +218,23 @@ config AVR32_AT32AP_CPUFREQ | |||
218 | 218 | ||
219 | endmenu | 219 | endmenu |
220 | 220 | ||
221 | menu "CPUFreq processor drivers" | ||
222 | depends on IA64 | ||
223 | |||
224 | config IA64_ACPI_CPUFREQ | ||
225 | tristate "ACPI Processor P-States driver" | ||
226 | select CPU_FREQ_TABLE | ||
227 | depends on ACPI_PROCESSOR | ||
228 | help | ||
229 | This driver adds a CPUFreq driver which utilizes the ACPI | ||
230 | Processor Performance States. | ||
231 | |||
232 | For details, take a look at <file:Documentation/cpu-freq/>. | ||
233 | |||
234 | If in doubt, say N. | ||
235 | |||
236 | endmenu | ||
237 | |||
221 | menu "PowerPC CPU frequency scaling drivers" | 238 | menu "PowerPC CPU frequency scaling drivers" |
222 | depends on PPC32 || PPC64 | 239 | depends on PPC32 || PPC64 |
223 | source "drivers/cpufreq/Kconfig.powerpc" | 240 | source "drivers/cpufreq/Kconfig.powerpc" |
diff --git a/drivers/cpufreq/Makefile b/drivers/cpufreq/Makefile index 2d6dbf30862b..ab681337e6d4 100644 --- a/drivers/cpufreq/Makefile +++ b/drivers/cpufreq/Makefile | |||
@@ -81,3 +81,4 @@ obj-$(CONFIG_AVR32_AT32AP_CPUFREQ) += at32ap-cpufreq.o | |||
81 | obj-$(CONFIG_BLACKFIN) += blackfin-cpufreq.o | 81 | obj-$(CONFIG_BLACKFIN) += blackfin-cpufreq.o |
82 | obj-$(CONFIG_CRIS_MACH_ARTPEC3) += cris-artpec3-cpufreq.o | 82 | obj-$(CONFIG_CRIS_MACH_ARTPEC3) += cris-artpec3-cpufreq.o |
83 | obj-$(CONFIG_ETRAXFS) += cris-etraxfs-cpufreq.o | 83 | obj-$(CONFIG_ETRAXFS) += cris-etraxfs-cpufreq.o |
84 | obj-$(CONFIG_IA64_ACPI_CPUFREQ) += ia64-acpi-cpufreq.o | ||
diff --git a/arch/ia64/kernel/cpufreq/acpi-cpufreq.c b/drivers/cpufreq/ia64-acpi-cpufreq.c index 4700fef8d1fa..c0075dbaa633 100644 --- a/arch/ia64/kernel/cpufreq/acpi-cpufreq.c +++ b/drivers/cpufreq/ia64-acpi-cpufreq.c | |||
@@ -1,5 +1,4 @@ | |||
1 | /* | 1 | /* |
2 | * arch/ia64/kernel/cpufreq/acpi-cpufreq.c | ||
3 | * This file provides the ACPI based P-state support. This | 2 | * This file provides the ACPI based P-state support. This |
4 | * module works with generic cpufreq infrastructure. Most of | 3 | * module works with generic cpufreq infrastructure. Most of |
5 | * the code is based on i386 version | 4 | * the code is based on i386 version |