cpufreq: convert to a single post-init driver (hooks) instance
authorJan Beulich <jbeulich@suse.com>
Fri, 9 Nov 2018 10:42:10 +0000 (11:42 +0100)
committerJan Beulich <jbeulich@suse.com>
Fri, 9 Nov 2018 10:42:10 +0000 (11:42 +0100)
commitafe08486589347eb523038abda5ad4a0a0289ce1
treeaa492f1500244aa4daabee206522edddc4588603
parentd78e52da2dff699e4ac0142901adaba41031509c
cpufreq: convert to a single post-init driver (hooks) instance

This reduces the post-init memory footprint, eliminates a pointless
level of indirection at the use sites, and allows for subsequent
alternatives call patching.

Take the opportunity and also add a name to the PowerNow! instance.

Signed-off-by: Jan Beulich <jbeulich@suse.com>
Reviewed-by: Wei Liu <wei.liu2@citrix.com>
Reviewed-by: Andrew Cooper <andrew.cooper3@citrix.com>
xen/arch/x86/acpi/cpufreq/cpufreq.c
xen/arch/x86/acpi/cpufreq/powernow.c
xen/drivers/acpi/pmstat.c
xen/drivers/cpufreq/cpufreq.c
xen/drivers/cpufreq/utility.c
xen/include/acpi/cpufreq/cpufreq.h