x86: fix MWAIT-based idle driver for CPUs without ARAT
authorJan Beulich <jbeulich@suse.com>
Tue, 25 Sep 2012 06:36:33 +0000 (08:36 +0200)
committerJan Beulich <jbeulich@suse.com>
Tue, 25 Sep 2012 06:36:33 +0000 (08:36 +0200)
commit797b603c7e32459c782ec2738fa6a30b4fbbcb83
treef40d33af32a9e3ab1fe89f62b2eb937d5df4f400
parent1b33d3acd1a7550b858379f38e01e085dc444d08
x86: fix MWAIT-based idle driver for CPUs without ARAT

lapic_timer_{on,off} need to get initialized in this case. This in turn
requires getting HPET broadcast setup to be carried out earlier (and
hence preventing double initialization there).

Signed-off-by: Jan Beulich <jbeulich@suse.com>
xen/arch/x86/acpi/cpu_idle.c
xen/arch/x86/cpu/mwait-idle.c
xen/arch/x86/hpet.c
xen/include/asm-x86/cpuidle.h