diff options
author | Thomas Gleixner <tglx@linutronix.de> | 2015-04-02 20:37:24 -0400 |
---|---|---|
committer | Ingo Molnar <mingo@kernel.org> | 2015-04-03 02:44:36 -0400 |
commit | 52c063d1adbc16c76e70fffa20727fcd4e9343b3 (patch) | |
tree | 08e2f8c56e9e972082adbeda1fe3cff646a45f4e /kernel/time/clockevents.c | |
parent | ffa48c0d76803057ee89bf220305466d74256d7b (diff) |
clockevents: Make tick handover explicit
clockevents_notify() is a leftover from the early design of the
clockevents facility. It's really not a notification mechanism,
it's a multiplex call. We are way better off to have explicit
calls instead of this monstrosity.
Split out the tick_handover call and invoke it explicitely from
the hotplug code. Temporary solution will be cleaned up in later
patches.
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
[ Rebase ]
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: John Stultz <john.stultz@linaro.org>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Andrew Morton <akpm@linux-foundation.org>
Link: http://lkml.kernel.org/r/1658173.RkEEILFiQZ@vostro.rjw.lan
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'kernel/time/clockevents.c')
-rw-r--r-- | kernel/time/clockevents.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/kernel/time/clockevents.c b/kernel/time/clockevents.c index be9abf32c0b9..88fb3b96c7cc 100644 --- a/kernel/time/clockevents.c +++ b/kernel/time/clockevents.c | |||
@@ -655,10 +655,6 @@ int clockevents_notify(unsigned long reason, void *arg) | |||
655 | raw_spin_lock_irqsave(&clockevents_lock, flags); | 655 | raw_spin_lock_irqsave(&clockevents_lock, flags); |
656 | 656 | ||
657 | switch (reason) { | 657 | switch (reason) { |
658 | case CLOCK_EVT_NOTIFY_CPU_DYING: | ||
659 | tick_handover_do_timer(arg); | ||
660 | break; | ||
661 | |||
662 | case CLOCK_EVT_NOTIFY_CPU_DEAD: | 658 | case CLOCK_EVT_NOTIFY_CPU_DEAD: |
663 | tick_shutdown_broadcast_oneshot(arg); | 659 | tick_shutdown_broadcast_oneshot(arg); |
664 | tick_shutdown_broadcast(arg); | 660 | tick_shutdown_broadcast(arg); |