powerpc: Merge 32-bit and 64-bit setup_arch()
authorBenjamin Herrenschmidt <benh@kernel.crashing.org>
Tue, 5 Jul 2016 05:07:51 +0000 (15:07 +1000)
committerMichael Ellerman <mpe@ellerman.id.au>
Thu, 21 Jul 2016 09:17:46 +0000 (19:17 +1000)
commitb1923caa6e641f3d0a93b5d045aef67ded5aef67
treebfa0d8f2b2f604b86c276a007103586078079f00
parent009776baa18448b223be73ac74912fef7e17b9e2
powerpc: Merge 32-bit and 64-bit setup_arch()

There is little enough differences now.

mpe: Add a/p/k/setup.h to contain the prototypes and empty versions of
functions we need, rather than using weak functions. Add a few other
empty versions to avoid as many #ifdefs as possible in the code.

Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
arch/powerpc/include/asm/rtas.h
arch/powerpc/include/asm/smp.h
arch/powerpc/kernel/setup-common.c
arch/powerpc/kernel/setup.h [new file with mode: 0644]
arch/powerpc/kernel/setup_32.c
arch/powerpc/kernel/setup_64.c