Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 7815701c authored by Thomas Gleixner's avatar Thomas Gleixner Committed by Ingo Molnar
Browse files

ACPI/idle: Use explicit broadcast control function



Replace the clockevents_notify() call with an explicit function call.

Signed-off-by: default avatarThomas Gleixner <tglx@linutronix.de>
Signed-off-by: default avatarRafael J. Wysocki <rafael.j.wysocki@intel.com>
Cc: Peter Zijlstra <peterz@infradead.org>
Link: http://lkml.kernel.org/r/2653377.MSAlfA939I@vostro.rjw.lan


Signed-off-by: default avatarIngo Molnar <mingo@kernel.org>
parent c7952135
Loading
Loading
Loading
Loading
+4 −5
Original line number Diff line number Diff line
@@ -178,11 +178,10 @@ static void lapic_timer_state_broadcast(struct acpi_processor *pr,
	int state = cx - pr->power.states;

	if (state >= pr->power.timer_broadcast_on_state) {
		unsigned long reason;

		reason = broadcast ?  CLOCK_EVT_NOTIFY_BROADCAST_ENTER :
			CLOCK_EVT_NOTIFY_BROADCAST_EXIT;
		clockevents_notify(reason, &pr->id);
		if (broadcast)
			tick_broadcast_enter();
		else
			tick_broadcast_exit();
	}
}