]> git.baikalelectronics.ru Git - kernel.git/commit
smp/hotplug: Undo tglxs brainfart
authorThomas Gleixner <tglx@linutronix.de>
Mon, 26 Dec 2016 21:58:19 +0000 (22:58 +0100)
committerLinus Torvalds <torvalds@linux-foundation.org>
Tue, 27 Dec 2016 01:30:24 +0000 (17:30 -0800)
commitf48d694580537be0942a0739eddea59b72b22e41
treeaa66dffa65f105ab98d5db3707c2262146d7fd8f
parente8abdc880965db4aa7de42f953215e6bc0c89947
smp/hotplug: Undo tglxs brainfart

The attempt to prevent overwriting an active state resulted in a
disaster which effectively disables all dynamically allocated hotplug
states.

Cleanup the mess.

Fixes: 8f5625c26fc8 ("cpu/hotplug: Prevent overwriting of callbacks")
Reported-by: Markus Trippelsdorf <markus@trippelsdorf.de>
Reported-by: Boris Ostrovsky <boris.ostrovsky@oracle.com>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
kernel/cpu.c