From: "Rafael J. Wysocki" Subject: [v2][PATCH 04/21] ACPI / PAD: Use explicit broadcast control function Date: Fri, 03 Apr 2015 02:01:49 +0200 Message-ID: <1521832.mm0ZfkTzTA@vostro.rjw.lan> References: <2112147.0kYCHhbEJT@vostro.rjw.lan> <2186067.gb1n6y4Zoc@vostro.rjw.lan> <3410621.5uMny9y0B7@vostro.rjw.lan> Mime-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7Bit Return-path: In-Reply-To: <3410621.5uMny9y0B7@vostro.rjw.lan> Sender: linux-kernel-owner@vger.kernel.org To: Ingo Molnar Cc: Peter Zijlstra , Thomas Gleixner , Linux PM list , Linux Kernel Mailing List , ACPI Devel Maling List , Len Brown List-Id: linux-acpi@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();