From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753642AbbDCIY7 (ORCPT ); Fri, 3 Apr 2015 04:24:59 -0400 Received: from terminus.zytor.com ([198.137.202.10]:44934 "EHLO terminus.zytor.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752916AbbDCIYz (ORCPT ); Fri, 3 Apr 2015 04:24:55 -0400 Date: Fri, 3 Apr 2015 01:24:24 -0700 From: tip-bot for Thomas Gleixner Message-ID: Cc: tglx@linutronix.de, peterz@infradead.org, linux-kernel@vger.kernel.org, hpa@zytor.com, rafael.j.wysocki@intel.com, mingo@kernel.org Reply-To: rafael.j.wysocki@intel.com, mingo@kernel.org, tglx@linutronix.de, hpa@zytor.com, linux-kernel@vger.kernel.org, peterz@infradead.org In-Reply-To: <8569669.lgxIty9PKW@vostro.rjw.lan> References: <8569669.lgxIty9PKW@vostro.rjw.lan> To: linux-tip-commits@vger.kernel.org Subject: [tip:timers/core] x86/amd/idle, clockevents: Use explicit broadcast oneshot control functions Git-Commit-ID: 435c350e8197488f12c97e7df28a9c2199bd1673 X-Mailer: tip-git-log-daemon Robot-ID: Robot-Unsubscribe: Contact to get blacklisted from these emails MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset=UTF-8 Content-Disposition: inline Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Commit-ID: 435c350e8197488f12c97e7df28a9c2199bd1673 Gitweb: http://git.kernel.org/tip/435c350e8197488f12c97e7df28a9c2199bd1673 Author: Thomas Gleixner AuthorDate: Fri, 3 Apr 2015 02:05:53 +0200 Committer: Ingo Molnar CommitDate: Fri, 3 Apr 2015 08:44:34 +0200 x86/amd/idle, clockevents: Use explicit broadcast oneshot control functions Replace the clockevents_notify() call with an explicit function call. Signed-off-by: Thomas Gleixner Signed-off-by: Rafael J. Wysocki Cc: Peter Zijlstra Link: http://lkml.kernel.org/r/8569669.lgxIty9PKW@vostro.rjw.lan Signed-off-by: Ingo Molnar --- arch/x86/kernel/process.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/x86/kernel/process.c b/arch/x86/kernel/process.c index e94b733..2f43c62 100644 --- a/arch/x86/kernel/process.c +++ b/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();