]> 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)
commit14464b99eb9bd33cfd4381fd440c1f6cb18c0447
treed8effab6a598d459f4828c81643f13637dbb9ecc
parent1882b15c5f8485638e5a5ab151e226865aa5b0f2
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