diff options
author | Kumar Gala <galak@kernel.crashing.org> | 2009-04-06 23:36:50 -0500 |
---|---|---|
committer | Kumar Gala <galak@kernel.crashing.org> | 2009-04-07 01:36:30 -0500 |
commit | e9965577406a2148ade97b5e0ce7c448b4ba4ef6 (patch) | |
tree | c1291c2942e50af47c9391f6308d5f9c17377220 /arch/powerpc/include/asm/mmu.h | |
parent | 7281f5dc2c9582f3efaed9b367837ca6117d7b7f (diff) | |
download | linux-3.10-e9965577406a2148ade97b5e0ce7c448b4ba4ef6.tar.gz linux-3.10-e9965577406a2148ade97b5e0ce7c448b4ba4ef6.tar.bz2 linux-3.10-e9965577406a2148ade97b5e0ce7c448b4ba4ef6.zip |
powerpc: Add support for early tlbilx opcode
During the ISA 2.06 development the opcode for tlbilx changed and some
early implementations used to old opcode. Add support for a MMU_FTR
fixup to deal with this.
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
Diffstat (limited to 'arch/powerpc/include/asm/mmu.h')
-rw-r--r-- | arch/powerpc/include/asm/mmu.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/arch/powerpc/include/asm/mmu.h b/arch/powerpc/include/asm/mmu.h index cbf15438709..86d2366ab6a 100644 --- a/arch/powerpc/include/asm/mmu.h +++ b/arch/powerpc/include/asm/mmu.h @@ -52,6 +52,12 @@ */ #define MMU_FTR_NEED_DTLB_SW_LRU ASM_CONST(0x00200000) +/* This indicates that the processor uses the wrong opcode for tlbilx + * instructions. During the ISA 2.06 development the opcode for tlbilx + * changed and some early implementations used to old opcode + */ +#define MMU_FTR_TLBILX_EARLY_OPCODE ASM_CONST(0x00400000) + #ifndef __ASSEMBLY__ #include <asm/cputable.h> |