summaryrefslogtreecommitdiffstats
path: root/drivers/acpi/acpi_pad.c
diff options
context:
space:
mode:
authorThomas Gleixner <tglx@linutronix.de>2015-04-03 02:01:49 +0200
committerIngo Molnar <mingo@kernel.org>2015-04-03 08:44:32 +0200
commit979081e7440056da28b19e57acf20098caf49103 (patch)
treef21a1f85113cdaa46a4c5fa2f859135430c88e84 /drivers/acpi/acpi_pad.c
parent162a688e84df49c5bcc855a5e5bf812d0ec89ad5 (diff)
downloadlinux-979081e7440056da28b19e57acf20098caf49103.tar.bz2
ACPI/PAD: Use explicit broadcast control function
Replace the clockevents_notify() call with an explicit function call. Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com> Cc: Len Brown <lenb@kernel.org> Cc: Peter Zijlstra <peterz@infradead.org> Link: http://lkml.kernel.org/r/1521832.mm0ZfkTzTA@vostro.rjw.lan Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'drivers/acpi/acpi_pad.c')
-rw-r--r--drivers/acpi/acpi_pad.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/drivers/acpi/acpi_pad.c b/drivers/acpi/acpi_pad.c
index 1686e9f756fd..244dbc9be99a 100644
--- a/drivers/acpi/acpi_pad.c
+++ b/drivers/acpi/acpi_pad.c
@@ -26,7 +26,7 @@
#include <linux/kthread.h>
#include <linux/freezer.h>
#include <linux/cpu.h>
-#include <linux/clockchips.h>
+#include <linux/tick.h>
#include <linux/slab.h>
#include <linux/acpi.h>
#include <asm/mwait.h>
@@ -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();