diff options
Diffstat (limited to 'arch/um/kernel/process.c')
-rw-r--r-- | arch/um/kernel/process.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/um/kernel/process.c b/arch/um/kernel/process.c index 56d75afedbf7..aef494b6b81a 100644 --- a/arch/um/kernel/process.c +++ b/arch/um/kernel/process.c | |||
@@ -13,6 +13,7 @@ | |||
13 | #include "linux/ptrace.h" | 13 | #include "linux/ptrace.h" |
14 | #include "linux/random.h" | 14 | #include "linux/random.h" |
15 | #include "linux/sched.h" | 15 | #include "linux/sched.h" |
16 | #include "linux/tick.h" | ||
16 | #include "linux/threads.h" | 17 | #include "linux/threads.h" |
17 | #include "asm/pgtable.h" | 18 | #include "asm/pgtable.h" |
18 | #include "asm/uaccess.h" | 19 | #include "asm/uaccess.h" |
@@ -244,9 +245,11 @@ void default_idle(void) | |||
244 | if (need_resched()) | 245 | if (need_resched()) |
245 | schedule(); | 246 | schedule(); |
246 | 247 | ||
248 | tick_nohz_stop_sched_tick(); | ||
247 | switch_timers(1); | 249 | switch_timers(1); |
248 | idle_sleep(10); | 250 | idle_sleep(10); |
249 | switch_timers(0); | 251 | switch_timers(0); |
252 | tick_nohz_restart_sched_tick(); | ||
250 | } | 253 | } |
251 | } | 254 | } |
252 | 255 | ||