arm64/cpuinfo: Make hotplug notifier symmetric
authorAnna-Maria Gleixner <anna-maria@linutronix.de>
Sat, 26 Nov 2016 23:13:43 +0000 (00:13 +0100)
committerThomas Gleixner <tglx@linutronix.de>
Thu, 1 Dec 2016 23:52:37 +0000 (00:52 +0100)
commit914fb85f01571233af199a78ed1f88d9268421fd
treefbf28b475b9a39a8137e1c13a81b2490578d3a8f
parente46b1db249d83bb19b6bdbed2b2e2ff3858cd211
arm64/cpuinfo: Make hotplug notifier symmetric

There is no requirement to keep the sysfs files around until the CPU is
completely dead. Remove them during the DOWN_PREPARE notification. This is
a preparatory patch for converting to the hotplug state machine.

Signed-off-by: Anna-Maria Gleixner <anna-maria@linutronix.de>
Signed-off-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
Reviewed-by: Suzuki K Poulose <suzuki.poulose@arm.com>
Cc: Catalin Marinas <catalin.marinas@arm.com>
Cc: Will Deacon <will.deacon@arm.com>
Cc: rt@linutronix.de
Cc: linux-arm-kernel@lists.infradead.org
Link: http://lkml.kernel.org/r/20161126231350.10321-16-bigeasy@linutronix.de
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
arch/arm64/kernel/cpuinfo.c