]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit3a4ad823245f5831e3e94f7111676687d515cee9
treed8effab6a598d459f4828c81643f13637dbb9ecc
parentbcae4fb775e6fc35a74eb169bb1a6d8400a731a1
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