sh/perf: Convert the hotplug notifiers to state machine callbacks
authorThomas Gleixner <tglx@linutronix.de>
Wed, 13 Jul 2016 17:16:23 +0000 (17:16 +0000)
committerIngo Molnar <mingo@kernel.org>
Thu, 14 Jul 2016 07:34:39 +0000 (09:34 +0200)
commite3cfce17d309a3c914e36ac4b4b26c30045d4274
tree9847830b167d57a02e5fe8fc6e15a4a79ce0768f
parente3d617fe6ac7294974fc513dc5e4d8ada8080fd1
sh/perf: Convert the hotplug notifiers to state machine callbacks

Install the callbacks via the state machine and let the core invoke
the callbacks on the already online CPUs.

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Anna-Maria Gleixner <anna-maria@linutronix.de>
Reviewed-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
Cc: Alexander Shishkin <alexander.shishkin@linux.intel.com>
Cc: Arnaldo Carvalho de Melo <acme@kernel.org>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Rich Felker <dalias@libc.org>
Cc: Yoshinori Sato <ysato@users.sourceforge.jp>
Cc: linux-sh@vger.kernel.org
Cc: rt@linutronix.de
Link: http://lkml.kernel.org/r/20160713153334.597790464@linutronix.de
Signed-off-by: Ingo Molnar <mingo@kernel.org>
arch/sh/kernel/perf_event.c
include/linux/cpuhotplug.h