]> git.karo-electronics.de Git - linux-beck.git/commit
x86/mce/therm_throt: Move hotplug callbacks to online
authorThomas Gleixner <tglx@linutronix.de>
Mon, 21 Nov 2016 12:15:32 +0000 (13:15 +0100)
committerThomas Gleixner <tglx@linutronix.de>
Tue, 22 Nov 2016 22:34:38 +0000 (23:34 +0100)
commit33d97302eb502b72b76107d3122afbf18b09b3ec
tree53262702b2927e230b6a410b77952702ddd3bae4
parentd6526e73dbbbc4c382c1b16942413eab77ed5e1a
x86/mce/therm_throt: Move hotplug callbacks to online

No point to have the sysfs files around before the cpu is online and no
point to have them around until the cpu is dead. Get rid of the explicit
state.

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Cc: Sebastian Siewior <bigeasy@linutronix.de>
Cc: Tony Luck <tony.luck@intel.com>
Cc: Borislav Petkov <bp@alien8.de>
arch/x86/kernel/cpu/mcheck/therm_throt.c
include/linux/cpuhotplug.h