From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753638AbbDCAU5 (ORCPT ); Thu, 2 Apr 2015 20:20:57 -0400 Received: from v094114.home.net.pl ([79.96.170.134]:65444 "HELO v094114.home.net.pl" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with SMTP id S1751916AbbDCAQP (ORCPT ); Thu, 2 Apr 2015 20:16:15 -0400 From: "Rafael J. Wysocki" To: Ingo Molnar Cc: Peter Zijlstra , Thomas Gleixner , Linux PM list , Linux Kernel Mailing List , ACPI Devel Maling List , Tony Lindgren Subject: [v2][PATCH 15/21] ARM: OMAP: Use explicit broadcast oneshot control function Date: Fri, 03 Apr 2015 02:31:29 +0200 Message-ID: <3123047.uVjevtxDV7@vostro.rjw.lan> User-Agent: KMail/4.11.5 (Linux/3.19.0+; KDE/4.11.5; x86_64; ; ) In-Reply-To: <3410621.5uMny9y0B7@vostro.rjw.lan> References: <2112147.0kYCHhbEJT@vostro.rjw.lan> <2186067.gb1n6y4Zoc@vostro.rjw.lan> <3410621.5uMny9y0B7@vostro.rjw.lan> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="utf-8" 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 Signed-off-by: Rafael J. Wysocki --- arch/arm/mach-omap2/cpuidle44xx.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) Index: linux-pm/arch/arm/mach-omap2/cpuidle44xx.c =================================================================== --- linux-pm.orig/arch/arm/mach-omap2/cpuidle44xx.c +++ linux-pm/arch/arm/mach-omap2/cpuidle44xx.c @@ -83,7 +83,6 @@ static int omap_enter_idle_coupled(struc { struct idle_statedata *cx = state_ptr + index; u32 mpuss_can_lose_context = 0; - int cpu_id = smp_processor_id(); /* * CPU0 has to wait and stay ON until CPU1 is OFF state. @@ -111,7 +110,7 @@ static int omap_enter_idle_coupled(struc mpuss_can_lose_context = (cx->mpu_state == PWRDM_POWER_RET) && (cx->mpu_logic_state == PWRDM_POWER_OFF); - clockevents_notify(CLOCK_EVT_NOTIFY_BROADCAST_ENTER, &cpu_id); + tick_broadcast_enter(); /* * Call idle CPU PM enter notifier chain so that @@ -168,7 +167,7 @@ static int omap_enter_idle_coupled(struc if (dev->cpu == 0 && mpuss_can_lose_context) cpu_cluster_pm_exit(); - clockevents_notify(CLOCK_EVT_NOTIFY_BROADCAST_EXIT, &cpu_id); + tick_broadcast_exit(); fail: cpuidle_coupled_parallel_barrier(dev, &abort_barrier);