aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/pxa/patches-2.6.21/016-cpufreq-ondemand-by-default.patch
diff options
context:
space:
mode:
authorImre Kaloz <kaloz@openwrt.org>2010-02-09 00:11:50 +0000
committerImre Kaloz <kaloz@openwrt.org>2010-02-09 00:11:50 +0000
commit40ba15806fcd52982135c367f49a8ac3ce85913f (patch)
tree09f98f7bcc5053c972d2be6bb9192a79a40d7fdb /target/linux/pxa/patches-2.6.21/016-cpufreq-ondemand-by-default.patch
parent7c8f9f56301c4d6a6e3bcfc89e407dc5289f5b42 (diff)
downloadupstream-40ba15806fcd52982135c367f49a8ac3ce85913f.tar.gz
upstream-40ba15806fcd52982135c367f49a8ac3ce85913f.tar.bz2
upstream-40ba15806fcd52982135c367f49a8ac3ce85913f.zip
upgrade to 2.6.32.7, switch to squashfs, remove broken flag
SVN-Revision: 19562
Diffstat (limited to 'target/linux/pxa/patches-2.6.21/016-cpufreq-ondemand-by-default.patch')
-rw-r--r--target/linux/pxa/patches-2.6.21/016-cpufreq-ondemand-by-default.patch38
1 files changed, 0 insertions, 38 deletions
diff --git a/target/linux/pxa/patches-2.6.21/016-cpufreq-ondemand-by-default.patch b/target/linux/pxa/patches-2.6.21/016-cpufreq-ondemand-by-default.patch
deleted file mode 100644
index 78d99f2bc4..0000000000
--- a/target/linux/pxa/patches-2.6.21/016-cpufreq-ondemand-by-default.patch
+++ /dev/null
@@ -1,38 +0,0 @@
---- a/drivers/cpufreq/Kconfig
-+++ b/drivers/cpufreq/Kconfig
-@@ -52,7 +52,7 @@ config CPU_FREQ_STAT_DETAILS
-
- choice
- prompt "Default CPUFreq governor"
-- default CPU_FREQ_DEFAULT_GOV_USERSPACE if CPU_FREQ_SA1100 || CPU_FREQ_SA1110
-+ default CPU_FREQ_DEFAULT_GOV_USERSPACE if CPU_FREQ_SA1100 || CPU_FREQ_SA1110 || CPU_FREQ_PXA
- default CPU_FREQ_DEFAULT_GOV_PERFORMANCE
- help
- This option sets which CPUFreq governor shall be loaded at
-@@ -75,6 +75,14 @@ config CPU_FREQ_DEFAULT_GOV_USERSPACE
- program shall be able to set the CPU dynamically without having
- to enable the userspace governor manually.
-
-+config CPU_FREQ_DEFAULT_GOV_ONDEMAND
-+ bool "ondemand"
-+ select CPU_FREQ_GOV_ONDEMAND
-+ help
-+ Use the CPUFreq governor 'ondemand' as default. This sets
-+ the frequency dynamically based on CPU load, throttling up
-+ and down as necessary.
-+
- endchoice
-
- config CPU_FREQ_GOV_PERFORMANCE
---- a/include/linux/cpufreq.h
-+++ b/include/linux/cpufreq.h
-@@ -286,6 +286,9 @@ extern struct cpufreq_governor cpufreq_g
- #elif defined(CONFIG_CPU_FREQ_DEFAULT_GOV_USERSPACE)
- extern struct cpufreq_governor cpufreq_gov_userspace;
- #define CPUFREQ_DEFAULT_GOVERNOR &cpufreq_gov_userspace
-+#elif defined(CONFIG_CPU_FREQ_DEFAULT_GOV_ONDEMAND)
-+extern struct cpufreq_governor cpufreq_gov_dbs;
-+#define CPUFREQ_DEFAULT_GOVERNOR &cpufreq_gov_dbs;
- #endif
-
-