powerpc: Replace CPU_FTR_BCTAR with CPU_FTR_ARCH_207S
authorMichael Ellerman <michael@ellerman.id.au>
Tue, 30 Apr 2013 20:17:02 +0000 (20:17 +0000)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>
Thu, 2 May 2013 00:35:16 +0000 (10:35 +1000)
commit1de2bd4e0c0f62c697a3b3e19bda431cf67ce20e
treed8effab6a598d459f4828c81643f13637dbb9ecc
parent53b56ca0195b8a2a098a358088ecfefafb030b40
powerpc: Replace CPU_FTR_BCTAR with CPU_FTR_ARCH_207S

We are getting low on cpu feature bits. So rather than add a separate bit for
every new Power8 feature, add a bit for arch 2.07 server catagory and use that
instead.

Hijack the value we had for BCTAR, but swap the value with CFAR so that all the
ARCH defines are together.

Note we don't touch CPU_FTR_TM, because it is conditionally enabled if
the kernel is built with TM support.

Signed-off-by: Michael Ellerman <michael@ellerman.id.au>
Signed-off-by: Michael Neuling <mikey@neuling.org>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
arch/powerpc/include/asm/cputable.h
arch/powerpc/kernel/entry_64.S