aboutsummaryrefslogtreecommitdiffstats
path: root/xen/include/acpi
diff options
context:
space:
mode:
authorKeir Fraser <keir.fraser@citrix.com>2009-02-03 18:12:51 +0000
committerKeir Fraser <keir.fraser@citrix.com>2009-02-03 18:12:51 +0000
commit77699d42403ccfb0239423c615afcb51c8ccb2f0 (patch)
tree3ba1d445b91f48c70fac1a011290bcd8f70300e7 /xen/include/acpi
parent964fb3d6365b7d3b582b895e2473446f814787d0 (diff)
downloadxen-77699d42403ccfb0239423c615afcb51c8ccb2f0.tar.gz
xen-77699d42403ccfb0239423c615afcb51c8ccb2f0.tar.bz2
xen-77699d42403ccfb0239423c615afcb51c8ccb2f0.zip
Consolidate cpufreq cmdline handling
... by moving as much of the option processing into cpufreq code as is possible, by folding the cpufreq_governor option into the cpufreq one (the governor name, if any, must be specified as the first thing after the separator following "cpufreq=xen"), and by allowing each governor to have an option processing routine. Signed-off-by: Jan Beulich <jbeulich@novell.com>
Diffstat (limited to 'xen/include/acpi')
-rw-r--r--xen/include/acpi/cpufreq/cpufreq.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/xen/include/acpi/cpufreq/cpufreq.h b/xen/include/acpi/cpufreq/cpufreq.h
index eba0d7c6a4..93acc7a4e0 100644
--- a/xen/include/acpi/cpufreq/cpufreq.h
+++ b/xen/include/acpi/cpufreq/cpufreq.h
@@ -87,6 +87,7 @@ struct cpufreq_governor {
char name[CPUFREQ_NAME_LEN];
int (*governor)(struct cpufreq_policy *policy,
unsigned int event);
+ void (*handle_option)(const char *name, const char *value);
struct list_head governor_list;
};