From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932937AbbBPNS1 (ORCPT ); Mon, 16 Feb 2015 08:18:27 -0500 Received: from casper.infradead.org ([85.118.1.10]:55443 "EHLO casper.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932583AbbBPNJ3 (ORCPT ); Mon, 16 Feb 2015 08:09:29 -0500 Message-Id: <20150216122413.047305874@infradead.org> User-Agent: quilt/0.61-1 Date: Mon, 16 Feb 2015 13:14:53 +0100 From: Peter Zijlstra To: linux-kernel@vger.kernel.org, mingo@kernel.org, rjw@rjwysocki.net Cc: tglx@linutronix.de, peterz@infradead.org, Tony Lindgren Subject: [PATCH 18/35] ARM: OMAP: Use explicit broadcast control function References: <20150216121435.203983131@infradead.org> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Disposition: inline; filename=arm-omap-use-explicit-broadcast-control-function.patch Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Thomas Gleixner Replace the clockevents_notify() call with an explicit function call. Signed-off-by: Thomas Gleixner Cc: Tony Lindgren --- arch/arm/mach-omap2/cpuidle44xx.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) Index: linux/arch/arm/mach-omap2/cpuidle44xx.c =================================================================== --- linux.orig/arch/arm/mach-omap2/cpuidle44xx.c +++ linux/arch/arm/mach-omap2/cpuidle44xx.c @@ -14,7 +14,7 @@ #include #include #include -#include +#include #include #include @@ -184,8 +184,7 @@ fail: */ 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 = {