summaryrefslogtreecommitdiffstats
path: root/include/linux/cpuhotplug.h
diff options
context:
space:
mode:
authorSebastian Andrzej Siewior <bigeasy@linutronix.de>2016-11-10 18:44:46 +0100
committerThomas Gleixner <tglx@linutronix.de>2016-11-16 09:34:18 +0100
commit8c0eeac819c85e4c1143f7a874d87b4594739208 (patch)
tree880a0cfaf934e0e50d87c037710db561fed736ea /include/linux/cpuhotplug.h
parent39f152ffbfedb42b57b6e0c896eeae51dbe83b7a (diff)
downloadop-kernel-dev-8c0eeac819c85e4c1143f7a874d87b4594739208.zip
op-kernel-dev-8c0eeac819c85e4c1143f7a874d87b4594739208.tar.gz
x86/mcheck: Move CPU_ONLINE and CPU_DOWN_PREPARE to hotplug state machine
The CPU_ONLINE and CPU_DOWN_PREPARE look fully symmetrical and could be move to the hotplug state machine. On a failure during registration we have the tear down callback invoked (mce_cpu_pre_down()) so there should be no timer around and so no need to need keep notifier installed (this was the reason according to the comment why the notifier was registered despite of errors). Signed-off-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de> Acked-by: Borislav Petkov <bp@alien8.de> Cc: Tony Luck <tony.luck@intel.com> Cc: rt@linutronix.de Cc: linux-edac@vger.kernel.org Link: http://lkml.kernel.org/r/20161110174447.11848-7-bigeasy@linutronix.de Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'include/linux/cpuhotplug.h')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud