]> www.infradead.org Git - users/jedix/linux-maple.git/commit
cpuidle: replace xen access to x86 pm_idle and default_idle
authorLen Brown <len.brown@intel.com>
Fri, 1 Apr 2011 22:28:35 +0000 (18:28 -0400)
committerKonrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Fri, 24 Feb 2012 04:47:03 +0000 (23:47 -0500)
commit43214cf7cabd4d7d0b9e11e599f83a46becf31cb
tree005fc2e7cf321fd5fcdd54ed21ea6b1ad2498e5e
parent5f05031b90733fd6981f95069ba63edb8a65402d
cpuidle: replace xen access to x86 pm_idle and default_idle

When a Xen Dom0 kernel boots on a hypervisor, it gets access
to the raw-hardware ACPI tables.  While it parses the idle tables
for the hypervisor's beneift, it uses HLT for its own idle.

Rather than have xen scribble on pm_idle and access default_idle,
have it simply disable_cpuidle() so acpi_idle will not load and
architecture default HLT will be used.

cc: xen-devel@lists.xensource.com
Tested-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Acked-by: H. Peter Anvin <hpa@linux.intel.com>
Signed-off-by: Len Brown <len.brown@intel.com>
arch/x86/xen/setup.c
drivers/cpuidle/cpuidle.c
include/linux/cpuidle.h