From: Russell King Date: Mon, 22 Jun 2009 21:34:55 +0000 (+0100) Subject: [ARM] idle: clean up pm_idle calling, obey hlt_counter X-Git-Tag: v2.6.31-rc1~54^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9ccdac3662dbf3c75e8f8851a214bdf7d365a4bd;p=pandora-kernel.git [ARM] idle: clean up pm_idle calling, obey hlt_counter pm_idle is used by infrastructure (eg, cpuidle) which expects architectures to call it in a certain way. Arrange for ARM to follow x86's lead on this and call pm_idle() with interrupts already disabled. However, we expect pm_idle() to enable interrupts before it returns. Also, OMAP wants to be able to disable hlt-ing, so allow hlt_counter to prevent all calls to pm_idle. Signed-off-by: Russell King --- Reading git-diff-tree failed