]> www.infradead.org Git - users/jedix/linux-maple.git/commit
ACPI: processor: Don't setup cpu idle handler when we do not want them.
authorKevin Tian <kevin.tian@intel.com>
Wed, 19 Oct 2011 08:47:51 +0000 (16:47 +0800)
committerKonrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Tue, 13 Dec 2011 17:02:58 +0000 (12:02 -0500)
commit515e17174c93ad80ef9308823e8cd1b6168512eb
treee3b29b882c983952039313a87c2bf774898c15f6
parent522f4888a14b1d52ac218171250ce28777205638
ACPI: processor: Don't setup cpu idle handler when we do not want them.

This patch inhibits processing of the CPU idle handler if it is not
set to the appropiate one. This is needed by the Xen processor driver
which, while still needing processor details, wants to use the default_idle
call (which makes a yield hypercall).

Signed-off-by: Yu Ke <ke.yu@intel.com>
Signed-off-by: Tian Kevin <kevin.tian@intel.com>
Signed-off-by: Tang Liang <liang.tang@oracle.com>
Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
drivers/acpi/processor_idle.c