From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752673AbbDCIWt (ORCPT ); Fri, 3 Apr 2015 04:22:49 -0400 Received: from terminus.zytor.com ([198.137.202.10]:44846 "EHLO terminus.zytor.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752582AbbDCIWn (ORCPT ); Fri, 3 Apr 2015 04:22:43 -0400 Date: Fri, 3 Apr 2015 01:22:13 -0700 From: tip-bot for Thomas Gleixner Message-ID: Cc: tglx@linutronix.de, peterz@infradead.org, rafael.j.wysocki@intel.com, hpa@zytor.com, mingo@kernel.org, linux-kernel@vger.kernel.org Reply-To: mingo@kernel.org, linux-kernel@vger.kernel.org, tglx@linutronix.de, hpa@zytor.com, peterz@infradead.org, rafael.j.wysocki@intel.com In-Reply-To: <1528188.S1pjqkSL1P@vostro.rjw.lan> References: <1528188.S1pjqkSL1P@vostro.rjw.lan> To: linux-tip-commits@vger.kernel.org Subject: [tip:timers/core] x86/amd/idle, clockevents: Use explicit broadcast control function Git-Commit-ID: 162a688e84df49c5bcc855a5e5bf812d0ec89ad5 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: 162a688e84df49c5bcc855a5e5bf812d0ec89ad5 Gitweb: http://git.kernel.org/tip/162a688e84df49c5bcc855a5e5bf812d0ec89ad5 Author: Thomas Gleixner AuthorDate: Fri, 3 Apr 2015 02:01:28 +0200 Committer: Ingo Molnar CommitDate: Fri, 3 Apr 2015 08:44:31 +0200 x86/amd/idle, clockevents: Use explicit broadcast control function 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/1528188.S1pjqkSL1P@vostro.rjw.lan Signed-off-by: Ingo Molnar --- arch/x86/kernel/process.c | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/arch/x86/kernel/process.c b/arch/x86/kernel/process.c index 046e2d6..e94b733 100644 --- a/arch/x86/kernel/process.c +++ b/arch/x86/kernel/process.c @@ -9,7 +9,7 @@ #include #include #include -#include +#include #include #include #include @@ -377,11 +377,8 @@ static void amd_e400_idle(void) if (!cpumask_test_cpu(cpu, amd_e400_c1e_mask)) { cpumask_set_cpu(cpu, amd_e400_c1e_mask); - /* - * Force broadcast so ACPI can not interfere. - */ - clockevents_notify(CLOCK_EVT_NOTIFY_BROADCAST_FORCE, - &cpu); + /* Force broadcast so ACPI can not interfere. */ + tick_broadcast_force(); pr_info("Switch to broadcast mode on CPU%d\n", cpu); } clockevents_notify(CLOCK_EVT_NOTIFY_BROADCAST_ENTER, &cpu);