powerpc/64: Defer paca allocation until memory topology is discovered
authorNicholas Piggin <npiggin@gmail.com>
Tue, 13 Feb 2018 15:08:19 +0000 (01:08 +1000)
committerMichael Ellerman <mpe@ellerman.id.au>
Fri, 30 Mar 2018 12:34:28 +0000 (23:34 +1100)
commit59f577743d71bf796ceac10961bf6cfa5ca26786
tree28b1d6c5ebef21b63fb5192ee2d790f2138a2be6
parent9f593f131ed463dc571290980dd12cb9e56d8ea5
powerpc/64: Defer paca allocation until memory topology is discovered

Signed-off-by: Nicholas Piggin <npiggin@gmail.com>
[mpe: Rename the dummy allocate_pacas() to fix 32-bit build]
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
arch/powerpc/include/asm/paca.h
arch/powerpc/kernel/paca.c
arch/powerpc/kernel/prom.c
arch/powerpc/kernel/setup-common.c