powerpc/numa: Convert to hotplug state machine
authorSebastian Andrzej Siewior <bigeasy@linutronix.de>
Mon, 18 Jul 2016 14:07:28 +0000 (16:07 +0200)
committerThomas Gleixner <tglx@linutronix.de>
Fri, 22 Jul 2016 19:53:17 +0000 (21:53 +0200)
commitbdab88e006504cd83fac98705814485cbe3ef5b4
treedac9f2dda75a639c5e0e7b446e54a55e23525e9c
parent37b502f121adab26ccc2769c3063f0e1272be7de
powerpc/numa: Convert to hotplug state machine

Install the callbacks via the state machine. On the boot cpu the callback is
invoked manually because cpuhp is not up yet and everything must be
preinitialized before additional CPUs are up.

Signed-off-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
Cc: Nikunj A Dadhania <nikunj@linux.vnet.ibm.com>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Cc: Bharata B Rao <bharata@linux.vnet.ibm.com>
Cc: Raghavendra K T <raghavendra.kt@linux.vnet.ibm.com>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Christophe Jaillet <christophe.jaillet@wanadoo.fr>
Cc: Anton Blanchard <anton@samba.org>
Cc: Michael Ellerman <mpe@ellerman.id.au>
Cc: Paul Mackerras <paulus@samba.org>
Cc: Andrew Morton <akpm@linux-foundation.org>
Cc: linuxppc-dev@lists.ozlabs.org
Cc: rt@linutronix.de
Link: http://lkml.kernel.org/r/20160718140727.GA13132@linutronix.de
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
arch/powerpc/mm/numa.c
include/linux/cpuhotplug.h