powerpc: Remove CONFIG_POWER4
authorMichael Ellerman <mpe@ellerman.id.au>
Thu, 10 Jul 2014 02:29:25 +0000 (12:29 +1000)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>
Mon, 28 Jul 2014 04:10:26 +0000 (14:10 +1000)
commit804ece07e957298fa15695677c92631744d620af
tree51792a28d83a3b635dc91d1acbac94d2fa12fb3b
parent0f369103ce78c9948cfab8611031e6ac084b75a8
powerpc: Remove CONFIG_POWER4

Although the name CONFIG_POWER4 suggests that it controls support for
power4 cpus, this symbol is actually misnamed.

It is a historical wart from the powermac code, which used to support
building a 32-bit kernel for power4. CONFIG_POWER4 was used in that
context to guard code that was 64-bit only.

In the powermac code we can just use CONFIG_PPC64 instead, and in other
places it is a synonym for CONFIG_PPC_BOOK3S_64.

Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
arch/powerpc/include/asm/cputable.h
arch/powerpc/platforms/Kconfig.cputype
arch/powerpc/platforms/powermac/Kconfig
arch/powerpc/platforms/powermac/feature.c