Skip to content
Browse files

fix missing cpufreq defaults

  • Loading branch information...
1 parent fb977b5 commit 886927bbcb444e7a7877638402a657c20987b315 @omegamoon committed Sep 17, 2012
Showing with 20 additions and 0 deletions.
  1. +20 −0 include/linux/cpufreq.h
View
20 include/linux/cpufreq.h
@@ -22,6 +22,7 @@
#include <linux/cpumask.h>
#include <asm/div64.h>
+#define OMEGAMOON_CHANGED
#define CPUFREQ_NAME_LEN 16
@@ -363,6 +364,25 @@ extern struct cpufreq_governor cpufreq_gov_conservative;
#elif defined(CONFIG_CPU_FREQ_DEFAULT_GOV_INTERACTIVE)
extern struct cpufreq_governor cpufreq_gov_interactive;
#define CPUFREQ_DEFAULT_GOVERNOR (&cpufreq_gov_interactive)
+
+#ifdef OMEGAMOON_CHANGED
+#elif defined(CONFIG_CPU_FREQ_DEFAULT_GOV_SMARTASS2)
+extern struct cpufreq_governor cpufreq_gov_smartass2;
+#define CPUFREQ_DEFAULT_GOVERNOR (&cpufreq_gov_smartass2)
+
+#elif defined(CONFIG_CPU_FREQ_DEFAULT_GOV_INTERACTIVEX)
+extern struct cpufreq_governor cpufreq_gov_interactivex;
+#define CPUFREQ_DEFAULT_GOVERNOR (&cpufreq_gov_interactivex)
+
+#elif defined(CONFIG_CPU_FREQ_DEFAULT_GOV_SAVAGEDZEN)
+extern struct cpufreq_governor cpufreq_gov_savagedzen;
+#define CPUFREQ_DEFAULT_GOVERNOR (&cpufreq_gov_savagedzen)
+
+#elif defined(CONFIG_CPU_FREQ_DEFAULT_GOV_LULZACTIVE)
+extern struct cpufreq_governor cpufreq_gov_lagfree;
+#define CPUFREQ_DEFAULT_GOVERNOR (&cpufreq_gov_lulzactive)
+#endif
+
#endif

0 comments on commit 886927b

Please sign in to comment.
Something went wrong with that request. Please try again.