From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753315AbbDAWEp (ORCPT ); Wed, 1 Apr 2015 18:04:45 -0400 Received: from v094114.home.net.pl ([79.96.170.134]:56963 "HELO v094114.home.net.pl" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with SMTP id S1753130AbbDAWDh (ORCPT ); Wed, 1 Apr 2015 18:03:37 -0400 From: "Rafael J. Wysocki" To: Peter Zijlstra Cc: Thomas Gleixner , Ingo Molnar , Linux PM list , Linux Kernel Mailing List , ACPI Devel Maling List , Len Brown Subject: [PATCH 03/20] ACPI / PAD: Use explicit broadcast control function Date: Thu, 02 Apr 2015 00:05:38 +0200 Message-ID: <4790376.h4quxo3KjU@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 Cc: Len Brown Signed-off-by: Rafael J. Wysocki --- drivers/acpi/acpi_pad.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) Index: linux-pm/drivers/acpi/acpi_pad.c =================================================================== --- linux-pm.orig/drivers/acpi/acpi_pad.c +++ linux-pm/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 *dat 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();