summaryrefslogtreecommitdiff
path: root/arch/sh/kernel/traps.c
diff options
context:
space:
mode:
authorPaul Mundt <lethal@linux-sh.org>2007-05-14 19:39:48 +0900
committerPaul Mundt <lethal@linux-sh.org>2007-05-21 14:34:25 +0900
commitf3a9022fd187de41a04de9c5b44ff40e68c6d661 (patch)
tree352fd4f2bc35469721a218093bf4e65a6c1d9209 /arch/sh/kernel/traps.c
parent69d87daa18aced7f494bc1d5a977b063bbbdffbd (diff)
sh: sr.bl toggling around idle sleep.
As pointed out by Saito-san, without the sr.bl manipulation we can occasionally hit delays in the idle loop due to interrupt handling, so ensure that interrupts are blocked before going to sleep. At the same time, we throw in TIF_POLLING_NRFLAG for the !hlt_counter case (primarily used by the ST-40 parts). Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Diffstat (limited to 'arch/sh/kernel/traps.c')
0 files changed, 0 insertions, 0 deletions