aboutsummaryrefslogtreecommitdiffstats
path: root/xen/include/asm-x86/cpuidle.h
diff options
context:
space:
mode:
authorJan Beulich <jbeulich@suse.com>2012-09-25 08:36:33 +0200
committerJan Beulich <jbeulich@suse.com>2012-09-25 08:36:33 +0200
commit797b603c7e32459c782ec2738fa6a30b4fbbcb83 (patch)
treef40d33af32a9e3ab1fe89f62b2eb937d5df4f400 /xen/include/asm-x86/cpuidle.h
parent1b33d3acd1a7550b858379f38e01e085dc444d08 (diff)
downloadxen-797b603c7e32459c782ec2738fa6a30b4fbbcb83.tar.gz
xen-797b603c7e32459c782ec2738fa6a30b4fbbcb83.tar.bz2
xen-797b603c7e32459c782ec2738fa6a30b4fbbcb83.zip
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>
Diffstat (limited to 'xen/include/asm-x86/cpuidle.h')
-rw-r--r--xen/include/asm-x86/cpuidle.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/xen/include/asm-x86/cpuidle.h b/xen/include/asm-x86/cpuidle.h
index 73edf90efd..ac1dddf069 100644
--- a/xen/include/asm-x86/cpuidle.h
+++ b/xen/include/asm-x86/cpuidle.h
@@ -10,6 +10,7 @@ extern struct acpi_processor_power *processor_powers[];
extern void (*pm_idle_save)(void);
+bool_t lapic_timer_init(void);
extern void (*lapic_timer_off)(void);
extern void (*lapic_timer_on)(void);