aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/acpi
diff options
context:
space:
mode:
authorThomas Gleixner <tglx@linutronix.de>2015-04-02 20:01:49 -0400
committerIngo Molnar <mingo@kernel.org>2015-04-03 02:44:32 -0400
commit979081e7440056da28b19e57acf20098caf49103 (patch)
treef21a1f85113cdaa46a4c5fa2f859135430c88e84 /drivers/acpi
parent162a688e84df49c5bcc855a5e5bf812d0ec89ad5 (diff)
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')
-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 @@
26#include <linux/kthread.h> 26#include <linux/kthread.h>
27#include <linux/freezer.h> 27#include <linux/freezer.h>
28#include <linux/cpu.h> 28#include <linux/cpu.h>
29#include <linux/clockchips.h> 29#include <linux/tick.h>
30#include <linux/slab.h> 30#include <linux/slab.h>
31#include <linux/acpi.h> 31#include <linux/acpi.h>
32#include <asm/mwait.h> 32#include <asm/mwait.h>
@@ -172,9 +172,8 @@ static int power_saving_thread(void *data)
172 mark_tsc_unstable("TSC halts in idle"); 172 mark_tsc_unstable("TSC halts in idle");
173 tsc_marked_unstable = 1; 173 tsc_marked_unstable = 1;
174 } 174 }
175 clockevents_notify(CLOCK_EVT_NOTIFY_BROADCAST_ON, &cpu);
176
177 local_irq_disable(); 175 local_irq_disable();
176 tick_broadcast_enable();
178 cpu = smp_processor_id(); 177 cpu = smp_processor_id();
179 clockevents_notify(CLOCK_EVT_NOTIFY_BROADCAST_ENTER, &cpu); 178 clockevents_notify(CLOCK_EVT_NOTIFY_BROADCAST_ENTER, &cpu);
180 stop_critical_timings(); 179 stop_critical_timings();