aboutsummaryrefslogtreecommitdiffstats
path: root/xen/include/acpi
diff options
context:
space:
mode:
authorJan Beulich <jbeulich@novell.com>2011-05-09 09:46:02 +0100
committerJan Beulich <jbeulich@novell.com>2011-05-09 09:46:02 +0100
commitcad7c6b87bdc04f95e9706ef99de0b5685e10857 (patch)
treeb1553d7b9ef7ded34b68ebc81f0c1ea75f4eb45c /xen/include/acpi
parent30d61f33084210362ac1efb2b72af547da70b1cc (diff)
downloadxen-cad7c6b87bdc04f95e9706ef99de0b5685e10857.tar.gz
xen-cad7c6b87bdc04f95e9706ef99de0b5685e10857.tar.bz2
xen-cad7c6b87bdc04f95e9706ef99de0b5685e10857.zip
misc cpufreq cleanup
- proper handling of governor command line options when using the default governor - warning message for unrecognized command line options - replacing a NR_CPUS sized array with per-CPU data - a couple of __read_mostly annotations Signed-off-by: Jan Beulich <jbeulich@novell.com>
Diffstat (limited to 'xen/include/acpi')
-rw-r--r--xen/include/acpi/cpufreq/cpufreq.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/xen/include/acpi/cpufreq/cpufreq.h b/xen/include/acpi/cpufreq/cpufreq.h
index 3554896ef7..c93aeeeae7 100644
--- a/xen/include/acpi/cpufreq/cpufreq.h
+++ b/xen/include/acpi/cpufreq/cpufreq.h
@@ -93,7 +93,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);
+ bool_t (*handle_option)(const char *name, const char *value);
struct list_head governor_list;
};