From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753504AbbDCIXG (ORCPT ); Fri, 3 Apr 2015 04:23:06 -0400 Received: from terminus.zytor.com ([198.137.202.10]:44856 "EHLO terminus.zytor.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752420AbbDCIW7 (ORCPT ); Fri, 3 Apr 2015 04:22:59 -0400 Date: Fri, 3 Apr 2015 01:22:29 -0700 From: tip-bot for Thomas Gleixner Message-ID: Cc: mingo@kernel.org, tglx@linutronix.de, peterz@infradead.org, linux-kernel@vger.kernel.org, lenb@kernel.org, hpa@zytor.com, rafael.j.wysocki@intel.com Reply-To: tglx@linutronix.de, peterz@infradead.org, mingo@kernel.org, lenb@kernel.org, linux-kernel@vger.kernel.org, hpa@zytor.com, rafael.j.wysocki@intel.com In-Reply-To: <1521832.mm0ZfkTzTA@vostro.rjw.lan> References: <1521832.mm0ZfkTzTA@vostro.rjw.lan> To: linux-tip-commits@vger.kernel.org Subject: [tip:timers/core] ACPI/PAD: Use explicit broadcast control function Git-Commit-ID: 979081e7440056da28b19e57acf20098caf49103 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: 979081e7440056da28b19e57acf20098caf49103 Gitweb: http://git.kernel.org/tip/979081e7440056da28b19e57acf20098caf49103 Author: Thomas Gleixner AuthorDate: Fri, 3 Apr 2015 02:01:49 +0200 Committer: Ingo Molnar CommitDate: Fri, 3 Apr 2015 08:44:32 +0200 ACPI/PAD: 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: Len Brown Cc: Peter Zijlstra Link: http://lkml.kernel.org/r/1521832.mm0ZfkTzTA@vostro.rjw.lan Signed-off-by: Ingo Molnar --- drivers/acpi/acpi_pad.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/drivers/acpi/acpi_pad.c b/drivers/acpi/acpi_pad.c index 1686e9f..244dbc9 100644 --- a/drivers/acpi/acpi_pad.c +++ b/drivers/acpi/acpi_pad.c @@ -26,7 +26,7 @@ #include #include #include -#include +#include #include #include #include @@ -172,9 +172,8 @@ static int power_saving_thread(void *data) mark_tsc_unstable("TSC halts in idle"); tsc_marked_unstable = 1; } - clockevents_notify(CLOCK_EVT_NOTIFY_BROADCAST_ON, &cpu); - local_irq_disable(); + tick_broadcast_enable(); cpu = smp_processor_id(); clockevents_notify(CLOCK_EVT_NOTIFY_BROADCAST_ENTER, &cpu); stop_critical_timings();