• Paul Mundt's avatar
    sh: sr.bl toggling around idle sleep. · f3a9022f
    Paul Mundt authored
    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: default avatarPaul Mundt <lethal@linux-sh.org>
    f3a9022f
process.c 12.3 KB