]> git.baikalelectronics.ru Git - kernel.git/commit
clockevents: Cleanup dead cpu explicitely
authorThomas Gleixner <tglx@linutronix.de>
Fri, 3 Apr 2015 00:38:05 +0000 (02:38 +0200)
committerIngo Molnar <mingo@kernel.org>
Fri, 3 Apr 2015 06:44:37 +0000 (08:44 +0200)
commit96326571d7881be42ff8625eadc0e995ce86f93c
tree948a98d4adcc47a89d1148033c7c130619eb2b06
parent26d562cd19fe842eb3c2015cbc4bf07949c7bb81
clockevents: Cleanup dead cpu explicitely

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 cleanup function for a dead cpu and invoke it
directly from the cpu down code. Make it conditional on
CPU_HOTPLUG as well.

Temporary change, will be refined in the future.

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
[ Rebased, added clockevents_notify() removal ]
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Cc: Peter Zijlstra <peterz@infradead.org>
Link: http://lkml.kernel.org/r/1735025.raBZdQHM3m@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-broadcast.c
kernel/time/tick-common.c
kernel/time/tick-internal.h