s390/smp: Make cpu notifier symetric
authorThomas Gleixner <tglx@linutronix.de>
Fri, 4 Nov 2016 14:41:41 +0000 (15:41 +0100)
committerThomas Gleixner <tglx@linutronix.de>
Wed, 9 Nov 2016 22:45:28 +0000 (23:45 +0100)
commitef65d45cbfbb438a5fbe8ef3fc424314ff1e8b7c
tree85b17290b1321fd98e96add9f9f06233c58e1711
parenta4fc1bfc42062e8bc7b2271a90d17403b096ce5d
s390/smp: Make cpu notifier symetric

There is no reason to remove the sysfs cpu files when the CPU is dead, they
can be removed when the cpu is prepared to go down. Doing it at
DOWN_PREPARE allows us to convert it to a symetric hotplug state in the
next step.

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
Acked-by: Heiko Carstens <heiko.carstens@de.ibm.com>
Cc: Martin Schwidefsky <schwidefsky@de.ibm.com>
Cc: linux-s390@vger.kernel.org
Cc: rt@linutronix.de
Link: http://lkml.kernel.org/r/20161104144140.lcee6kwmwlx37m7g@linutronix.de
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
arch/s390/kernel/smp.c