powerpc: Use new CPU feature bit to select 2.06 tlbie
authorMichael Neuling <mikey@neuling.org>
Wed, 6 Apr 2011 18:23:29 +0000 (18:23 +0000)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>
Wed, 4 May 2011 05:19:26 +0000 (15:19 +1000)
commita32e252f7cdfb3675a4e50215cfac356ed8952c4
tree6ed462115dc518d39707f9c00ef19cad5acd1fc8
parent476eb4912601a8c01e6702b9a029f476b4b131d2
powerpc: Use new CPU feature bit to select 2.06 tlbie

This removes MMU_FTR_TLBIE_206 as we can now use CPU_FTR_HVMODE_206.  It
also changes the logic to select which tlbie to use to be based on this
new CPU feature bit.

This also duplicates the ASM_FTR_IF/SET/CLR defines for CPU features
(copied from MMU features).

Signed-off-by: Michael Neuling <mikey@neuling.org>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
arch/powerpc/include/asm/feature-fixups.h
arch/powerpc/include/asm/mmu.h
arch/powerpc/mm/hash_native_64.c