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)
committerLen Brown <len.brown@intel.com>
Wed, 3 Aug 2011 23:06:36 +0000 (19:06 -0400)
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>

No differences found