diff options
Diffstat (limited to 'arch/x86')
-rw-r--r-- | arch/x86/kernel/process_32.c | 2 | ||||
-rw-r--r-- | arch/x86/kernel/process_64.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/arch/x86/kernel/process_32.c b/arch/x86/kernel/process_32.c index f8476dfbb60d..1f5fa1cf16dd 100644 --- a/arch/x86/kernel/process_32.c +++ b/arch/x86/kernel/process_32.c | |||
@@ -166,7 +166,7 @@ void cpu_idle(void) | |||
166 | 166 | ||
167 | /* endless idle loop with no priority at all */ | 167 | /* endless idle loop with no priority at all */ |
168 | while (1) { | 168 | while (1) { |
169 | tick_nohz_stop_sched_tick(); | 169 | tick_nohz_stop_sched_tick(1); |
170 | while (!need_resched()) { | 170 | while (!need_resched()) { |
171 | void (*idle)(void); | 171 | void (*idle)(void); |
172 | 172 | ||
diff --git a/arch/x86/kernel/process_64.c b/arch/x86/kernel/process_64.c index e2319f39988b..c0a5c2a687e6 100644 --- a/arch/x86/kernel/process_64.c +++ b/arch/x86/kernel/process_64.c | |||
@@ -148,7 +148,7 @@ void cpu_idle(void) | |||
148 | current_thread_info()->status |= TS_POLLING; | 148 | current_thread_info()->status |= TS_POLLING; |
149 | /* endless idle loop with no priority at all */ | 149 | /* endless idle loop with no priority at all */ |
150 | while (1) { | 150 | while (1) { |
151 | tick_nohz_stop_sched_tick(); | 151 | tick_nohz_stop_sched_tick(1); |
152 | while (!need_resched()) { | 152 | while (!need_resched()) { |
153 | void (*idle)(void); | 153 | void (*idle)(void); |
154 | 154 | ||