clockevents: Make tick handover explicit
authorThomas Gleixner <tglx@linutronix.de>
Fri, 3 Apr 2015 00:37:24 +0000 (02:37 +0200)
committerIngo Molnar <mingo@kernel.org>
Fri, 3 Apr 2015 06:44:36 +0000 (08:44 +0200)
commit52c063d1adbc16c76e70fffa20727fcd4e9343b3
tree08e2f8c56e9e972082adbeda1fe3cff646a45f4e
parentffa48c0d76803057ee89bf220305466d74256d7b
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>
include/linux/clockchips.h
include/linux/tick.h
kernel/cpu.c
kernel/time/clockevents.c
kernel/time/hrtimer.c
kernel/time/tick-common.c
kernel/time/tick-internal.h