| Date | Mon, 16 Feb 2015 13:14:56 +0100 | From | Peter Zijlstra <> | Subject | [PATCH 21/35] x86, amd_idle: Use explicit broadcast oneshot control functions |
| |
From: Thomas Gleixner <tglx@linutronix.de>
Replace the clockevents_notify() call with an explicit function call.
Signed-off-by: Thomas Gleixner <tglx@linutronix.de> --- arch/x86/kernel/process.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
Index: linux/arch/x86/kernel/process.c =================================================================== --- linux.orig/arch/x86/kernel/process.c +++ linux/arch/x86/kernel/process.c @@ -380,7 +380,7 @@ static void amd_e400_idle(void) tick_broadcast_force(); pr_info("Switch to broadcast mode on CPU%d\n", cpu); } - clockevents_notify(CLOCK_EVT_NOTIFY_BROADCAST_ENTER, &cpu); + tick_broadcast_enter(); default_idle(); @@ -389,7 +389,7 @@ static void amd_e400_idle(void) * called with interrupts disabled. */ local_irq_disable(); - clockevents_notify(CLOCK_EVT_NOTIFY_BROADCAST_EXIT, &cpu); + tick_broadcast_exit(); local_irq_enable(); } else default_idle();
|