summaryrefslogtreecommitdiff
path: root/packages/linux/linux-gumstix-2.6.15/cpufreq-ondemand-by-default.patch
diff options
context:
space:
mode:
authorDenys Dmytriyenko <denis@denix.org>2009-03-17 14:32:59 -0400
committerDenys Dmytriyenko <denis@denix.org>2009-03-17 14:32:59 -0400
commit709c4d66e0b107ca606941b988bad717c0b45d9b (patch)
tree37ee08b1eb308f3b2b6426d5793545c38396b838 /packages/linux/linux-gumstix-2.6.15/cpufreq-ondemand-by-default.patch
parentfa6cd5a3b993f16c27de4ff82b42684516d433ba (diff)
rename packages/ to recipes/ per earlier agreement
See links below for more details: http://thread.gmane.org/gmane.comp.handhelds.openembedded/21326 http://thread.gmane.org/gmane.comp.handhelds.openembedded/21816 Signed-off-by: Denys Dmytriyenko <denis@denix.org> Acked-by: Mike Westerhof <mwester@dls.net> Acked-by: Philip Balister <philip@balister.org> Acked-by: Khem Raj <raj.khem@gmail.com> Acked-by: Marcin Juszkiewicz <hrw@openembedded.org> Acked-by: Koen Kooi <koen@openembedded.org> Acked-by: Frans Meulenbroeks <fransmeulenbroeks@gmail.com>
Diffstat (limited to 'packages/linux/linux-gumstix-2.6.15/cpufreq-ondemand-by-default.patch')
-rw-r--r--packages/linux/linux-gumstix-2.6.15/cpufreq-ondemand-by-default.patch42
1 files changed, 0 insertions, 42 deletions
diff --git a/packages/linux/linux-gumstix-2.6.15/cpufreq-ondemand-by-default.patch b/packages/linux/linux-gumstix-2.6.15/cpufreq-ondemand-by-default.patch
deleted file mode 100644
index 5903ab275b..0000000000
--- a/packages/linux/linux-gumstix-2.6.15/cpufreq-ondemand-by-default.patch
+++ /dev/null
@@ -1,42 +0,0 @@
-Index: linux-2.6.15gum/drivers/cpufreq/Kconfig
-===================================================================
---- linux-2.6.15gum.orig/drivers/cpufreq/Kconfig
-+++ linux-2.6.15gum/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
-Index: linux-2.6.15gum/include/linux/cpufreq.h
-===================================================================
---- linux-2.6.15gum.orig/include/linux/cpufreq.h
-+++ linux-2.6.15gum/include/linux/cpufreq.h
-@@ -268,6 +268,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
-
-