diff options
Diffstat (limited to 'arch/sh/kernel/process_32.c')
-rw-r--r-- | arch/sh/kernel/process_32.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/sh/kernel/process_32.c b/arch/sh/kernel/process_32.c index 908731c49afb..e781540bd991 100644 --- a/arch/sh/kernel/process_32.c +++ b/arch/sh/kernel/process_32.c | |||
@@ -59,8 +59,12 @@ static void default_idle(void) | |||
59 | clear_thread_flag(TIF_POLLING_NRFLAG); | 59 | clear_thread_flag(TIF_POLLING_NRFLAG); |
60 | smp_mb__after_clear_bit(); | 60 | smp_mb__after_clear_bit(); |
61 | set_bl_bit(); | 61 | set_bl_bit(); |
62 | stop_critical_timings(); | ||
63 | |||
62 | while (!need_resched()) | 64 | while (!need_resched()) |
63 | cpu_sleep(); | 65 | cpu_sleep(); |
66 | |||
67 | start_critical_timings(); | ||
64 | clear_bl_bit(); | 68 | clear_bl_bit(); |
65 | set_thread_flag(TIF_POLLING_NRFLAG); | 69 | set_thread_flag(TIF_POLLING_NRFLAG); |
66 | } else | 70 | } else |