diff options
author | 2015-04-03 02:12:03 +0200 | |
---|---|---|
committer | 2015-04-03 08:44:34 +0200 | |
commit | 7815701c5cd7276b712d898b3cf49c55e587dbb1 (patch) | |
tree | 30fcd50b9dddbc3fac8120aa97f4a44208cb7f30 /drivers/acpi/processor_idle.c | |
parent | ACPI/PAD: Use explicit broadcast oneshot control function (diff) | |
download | linux-7815701c5cd7276b712d898b3cf49c55e587dbb1.tar.gz linux-7815701c5cd7276b712d898b3cf49c55e587dbb1.tar.bz2 linux-7815701c5cd7276b712d898b3cf49c55e587dbb1.zip |
ACPI/idle: 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: Peter Zijlstra <peterz@infradead.org>
Link: http://lkml.kernel.org/r/2653377.MSAlfA939I@vostro.rjw.lan
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'drivers/acpi/processor_idle.c')
-rw-r--r-- | drivers/acpi/processor_idle.c | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/drivers/acpi/processor_idle.c b/drivers/acpi/processor_idle.c index be5479739287..53355196c5c6 100644 --- a/drivers/acpi/processor_idle.c +++ b/drivers/acpi/processor_idle.c @@ -178,11 +178,10 @@ static void lapic_timer_state_broadcast(struct acpi_processor *pr, int state = cx - pr->power.states; if (state >= pr->power.timer_broadcast_on_state) { - unsigned long reason; - - reason = broadcast ? CLOCK_EVT_NOTIFY_BROADCAST_ENTER : - CLOCK_EVT_NOTIFY_BROADCAST_EXIT; - clockevents_notify(reason, &pr->id); + if (broadcast) + tick_broadcast_enter(); + else + tick_broadcast_exit(); } } |