From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753468AbbDAWHC (ORCPT ); Wed, 1 Apr 2015 18:07:02 -0400 Received: from v094114.home.net.pl ([79.96.170.134]:52258 "HELO v094114.home.net.pl" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with SMTP id S1753059AbbDAWDb (ORCPT ); Wed, 1 Apr 2015 18:03:31 -0400 From: "Rafael J. Wysocki" To: Peter Zijlstra Cc: Thomas Gleixner , Ingo Molnar , Linux PM list , Linux Kernel Mailing List , ACPI Devel Maling List Subject: [PATCH 10/20] x86, amd_idle: Use explicit broadcast oneshot control functions Date: Thu, 02 Apr 2015 00:15:24 +0200 Message-ID: <25992923.yKMiYkL35g@vostro.rjw.lan> User-Agent: KMail/4.11.5 (Linux/3.19.0+; KDE/4.11.5; x86_64; ; ) In-Reply-To: <2112147.0kYCHhbEJT@vostro.rjw.lan> References: <2112147.0kYCHhbEJT@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 Signed-off-by: Rafael J. Wysocki --- arch/x86/kernel/process.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) Index: linux-pm/arch/x86/kernel/process.c =================================================================== --- linux-pm.orig/arch/x86/kernel/process.c +++ linux-pm/arch/x86/kernel/process.c @@ -381,7 +381,7 @@ static void amd_e400_idle(void) tick_broadcast_force(); pr_info("Switch to broadcast mode on CPU%d\n", cpu); } - clockevents_notify(CLOCK_EVT_NOTIFY_BROADCAST_ENTER, &cpu); + tick_broadcast_enter(); default_idle(); @@ -390,7 +390,7 @@ static void amd_e400_idle(void) * called with interrupts disabled. */ local_irq_disable(); - clockevents_notify(CLOCK_EVT_NOTIFY_BROADCAST_EXIT, &cpu); + tick_broadcast_exit(); local_irq_enable(); } else default_idle();