]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
intel_idle: Use explicit broadcast oneshot control function
authorThomas Gleixner <tglx@linutronix.de>
Fri, 3 Apr 2015 00:14:23 +0000 (02:14 +0200)
committerIngo Molnar <mingo@kernel.org>
Fri, 3 Apr 2015 06:44:35 +0000 (08:44 +0200)
Replace the clockevents_notify() call with an explicit function call.

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Cc: Len Brown <lenb@kernel.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Link: http://lkml.kernel.org/r/20714596.QMfNNPbuyU@vostro.rjw.lan
Signed-off-by: Ingo Molnar <mingo@kernel.org>
drivers/idle/intel_idle.c

index 93f84f7f0586aa01a48b8e088d5567b9a2061704..5c979d0667a2210d2d73873e8766d07ea0facb22 100644 (file)
@@ -638,12 +638,12 @@ static int intel_idle(struct cpuidle_device *dev,
                leave_mm(cpu);
 
        if (!(lapic_timer_reliable_states & (1 << (cstate))))
-               clockevents_notify(CLOCK_EVT_NOTIFY_BROADCAST_ENTER, &cpu);
+               tick_broadcast_enter();
 
        mwait_idle_with_hints(eax, ecx);
 
        if (!(lapic_timer_reliable_states & (1 << (cstate))))
-               clockevents_notify(CLOCK_EVT_NOTIFY_BROADCAST_EXIT, &cpu);
+               tick_broadcast_exit();
 
        return index;
 }