diff options
author | Jan Beulich <jbeulich@novell.com> | 2011-05-09 09:46:02 +0100 |
---|---|---|
committer | Jan Beulich <jbeulich@novell.com> | 2011-05-09 09:46:02 +0100 |
commit | cad7c6b87bdc04f95e9706ef99de0b5685e10857 (patch) | |
tree | b1553d7b9ef7ded34b68ebc81f0c1ea75f4eb45c /xen/include/acpi | |
parent | 30d61f33084210362ac1efb2b72af547da70b1cc (diff) | |
download | xen-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.h | 2 |
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; }; |