powerpc: Re-order the call to smp_setup_cpu_maps()
authorBenjamin Herrenschmidt <benh@kernel.crashing.org>
Tue, 5 Jul 2016 05:04:11 +0000 (15:04 +1000)
committerMichael Ellerman <mpe@ellerman.id.au>
Thu, 21 Jul 2016 09:14:32 +0000 (19:14 +1000)
commite39afba3aa11f7088ddc00d37ab34a85d960a76e
treead33c77a37e59b1482145c326dd181a3e258cb60
parent8f212cb26fc74dcf7b8c5c3dbcf3c3741990c31d
powerpc: Re-order the call to smp_setup_cpu_maps()

It makes more sense to do it before intializing xmon() as xmon might
use the info in there. We do want to register the console early
though in case we want some functioning printk's in the cpu map setup.

Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
arch/powerpc/kernel/setup_32.c
arch/powerpc/kernel/setup_64.c