diff options
author | Russell King <rmk@dyn-67.arm.linux.org.uk> | 2009-06-22 23:34:55 +0200 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2009-06-22 23:34:55 +0200 |
commit | 9ccdac3662dbf3c75e8f8851a214bdf7d365a4bd (patch) | |
tree | 0a6c340482add9fd5ac629d2441b0d0027c82760 /drivers/mtd/maps/integrator-flash.c | |
parent | Merge branch 'next-s3c' of git://aeryn.fluff.org.uk/bjdooks/linux into devel (diff) | |
download | linux-9ccdac3662dbf3c75e8f8851a214bdf7d365a4bd.tar.xz linux-9ccdac3662dbf3c75e8f8851a214bdf7d365a4bd.zip |
[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 <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'drivers/mtd/maps/integrator-flash.c')
0 files changed, 0 insertions, 0 deletions