summaryrefslogtreecommitdiff
path: root/drivers/cpuidle/cpuidle.h
diff options
context:
space:
mode:
authorRafael J. Wysocki <rafael.j.wysocki@intel.com>2018-12-06 01:45:34 +0300
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2018-12-11 14:08:44 +0300
commit61cb5758d3c46bc1ba87694fefc0d9653613ce6b (patch)
tree122cbd1c3de0c1c3bf4591fb975e4de6d4de3ca0 /drivers/cpuidle/cpuidle.h
parent800fb34a99ce7d22dca839c90f869c7a12b50f70 (diff)
downloadlinux-61cb5758d3c46bc1ba87694fefc0d9653613ce6b.tar.xz
cpuidle: Add cpuidle.governor= command line parameter
Add cpuidle.governor= command line parameter to allow the default cpuidle governor to be replaced. That is useful, for example, if someone running a tickful kernel wants to use the menu governor on it. Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'drivers/cpuidle/cpuidle.h')
-rw-r--r--drivers/cpuidle/cpuidle.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/cpuidle/cpuidle.h b/drivers/cpuidle/cpuidle.h
index 2965ab32a583..d6613101af92 100644
--- a/drivers/cpuidle/cpuidle.h
+++ b/drivers/cpuidle/cpuidle.h
@@ -7,6 +7,7 @@
#define __DRIVER_CPUIDLE_H
/* For internal use only */
+extern char param_governor[];
extern struct cpuidle_governor *cpuidle_curr_governor;
extern struct list_head cpuidle_governors;
extern struct list_head cpuidle_detected_devices;