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

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

ARM: OMAP: 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>
Cc: Tony Lindgren <tony@atomide.com>
Link: http://lkml.kernel.org/r/2124877.3nbWGILHCV@vostro.rjw.lan


Signed-off-by: default avatarIngo Molnar <mingo@kernel.org>
parent 76962caa
Loading
Loading
Loading
Loading
+2 −3
Original line number Diff line number Diff line
@@ -14,7 +14,7 @@
#include <linux/cpuidle.h>
#include <linux/cpu_pm.h>
#include <linux/export.h>
#include <linux/clockchips.h>
#include <linux/tick.h>

#include <asm/cpuidle.h>
#include <asm/proc-fns.h>
@@ -184,8 +184,7 @@ static int omap_enter_idle_coupled(struct cpuidle_device *dev,
 */
static void omap_setup_broadcast_timer(void *arg)
{
	int cpu = smp_processor_id();
	clockevents_notify(CLOCK_EVT_NOTIFY_BROADCAST_ON, &cpu);
	tick_broadcast_enable();
}

static struct cpuidle_driver omap4_idle_driver = {