]> 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)
commit198f5cc4d0fa87112db159f4185cbdd8557ff217
treeaa66dffa65f105ab98d5db3707c2262146d7fd8f
parentc7e2767b3adc4e3b4620a05bb39ec2d6cd41f173
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: 17d5c06f7de8 ("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