summaryrefslogtreecommitdiffstats
path: root/arch/sh/kernel/traps.c
diff options
context:
space:
mode:
authorPaul Mundt2007-05-14 12:39:48 +0200
committerPaul Mundt2007-05-21 07:34:25 +0200
commitf3a9022fd187de41a04de9c5b44ff40e68c6d661 (patch)
tree352fd4f2bc35469721a218093bf4e65a6c1d9209 /arch/sh/kernel/traps.c
parentsh: disable genrtc support. (diff)
downloadkernel-qcow2-linux-f3a9022fd187de41a04de9c5b44ff40e68c6d661.tar.gz
kernel-qcow2-linux-f3a9022fd187de41a04de9c5b44ff40e68c6d661.tar.xz
kernel-qcow2-linux-f3a9022fd187de41a04de9c5b44ff40e68c6d661.zip
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