Commit 435c350e authored by Thomas Gleixner's avatar Thomas Gleixner Committed by Ingo Molnar

x86/amd/idle, clockevents: Use explicit broadcast oneshot control functions

Replace the clockevents_notify() call with an explicit function call.
Signed-off-by: default avatarThomas Gleixner <tglx@linutronix.de>
Signed-off-by: default avatarRafael J. Wysocki <rafael.j.wysocki@intel.com>
Cc: Peter Zijlstra <peterz@infradead.org>
Link: http://lkml.kernel.org/r/8569669.lgxIty9PKW@vostro.rjw.lanSigned-off-by: default avatarIngo Molnar <mingo@kernel.org>
parent 1fe5d5c3
...@@ -381,7 +381,7 @@ static void amd_e400_idle(void) ...@@ -381,7 +381,7 @@ static void amd_e400_idle(void)
tick_broadcast_force(); tick_broadcast_force();
pr_info("Switch to broadcast mode on CPU%d\n", cpu); pr_info("Switch to broadcast mode on CPU%d\n", cpu);
} }
clockevents_notify(CLOCK_EVT_NOTIFY_BROADCAST_ENTER, &cpu); tick_broadcast_enter();
default_idle(); default_idle();
...@@ -390,7 +390,7 @@ static void amd_e400_idle(void) ...@@ -390,7 +390,7 @@ static void amd_e400_idle(void)
* called with interrupts disabled. * called with interrupts disabled.
*/ */
local_irq_disable(); local_irq_disable();
clockevents_notify(CLOCK_EVT_NOTIFY_BROADCAST_EXIT, &cpu); tick_broadcast_exit();
local_irq_enable(); local_irq_enable();
} else } else
default_idle(); default_idle();
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment