Commit 94b4624986071a875871378f2a84e3f816764372
Committed by
Rafael J. Wysocki
1 parent
5b4bdac942
Exists in
smarc-l5.0.0_1.0.0-ga
and in
5 other branches
intel_idle: remove stop/start critical timings
The start/stop_critical_timings are called from arch/x86/kernel/process.c in the cpu_idle loop function. Remove the ones in the cpuidle driver. Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org> Acked-by: Len Brown <len.brown@intel.com> Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Showing 1 changed file with 0 additions and 3 deletions Side-by-side Diff
drivers/idle/intel_idle.c
... | ... | @@ -339,7 +339,6 @@ |
339 | 339 | if (!(lapic_timer_reliable_states & (1 << (cstate)))) |
340 | 340 | clockevents_notify(CLOCK_EVT_NOTIFY_BROADCAST_ENTER, &cpu); |
341 | 341 | |
342 | - stop_critical_timings(); | |
343 | 342 | if (!need_resched()) { |
344 | 343 | |
345 | 344 | __monitor((void *)¤t_thread_info()->flags, 0, 0); |
... | ... | @@ -347,8 +346,6 @@ |
347 | 346 | if (!need_resched()) |
348 | 347 | __mwait(eax, ecx); |
349 | 348 | } |
350 | - | |
351 | - start_critical_timings(); | |
352 | 349 | |
353 | 350 | if (!(lapic_timer_reliable_states & (1 << (cstate)))) |
354 | 351 | clockevents_notify(CLOCK_EVT_NOTIFY_BROADCAST_EXIT, &cpu); |