x86/mce/therm_throt: Convert to hotplug state machine
authorSebastian Andrzej Siewior <bigeasy@linutronix.de>
Thu, 17 Nov 2016 18:35:22 +0000 (19:35 +0100)
committerThomas Gleixner <tglx@linutronix.de>
Tue, 22 Nov 2016 22:34:38 +0000 (23:34 +0100)
commitd6526e73dbbbc4c382c1b16942413eab77ed5e1a
tree96b7beb8eacf78a64250fdb7a310a3434802b1ed
parent254fe9c7a4187ebf5ce23e0ca0e9ba98b1dbef18
x86/mce/therm_throt: Convert to hotplug state machine

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

Signed-off-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
Cc: Tony Luck <tony.luck@intel.com>
Cc: rt@linuxtronix.de
Cc: Borislav Petkov <bp@alien8.de>
Cc: linux-edac@vger.kernel.org
Link: http://lkml.kernel.org/r/20161117183541.8588-2-bigeasy@linutronix.de
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
arch/x86/kernel/cpu/mcheck/therm_throt.c
include/linux/cpuhotplug.h