diff options
Diffstat (limited to 'arch/mips/include/asm/tlb.h')
| -rw-r--r-- | arch/mips/include/asm/tlb.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/mips/include/asm/tlb.h b/arch/mips/include/asm/tlb.h index c67842bc8ef3..4a2349302b55 100644 --- a/arch/mips/include/asm/tlb.h +++ b/arch/mips/include/asm/tlb.h | |||
| @@ -18,6 +18,10 @@ | |||
| 18 | */ | 18 | */ |
| 19 | #define tlb_flush(tlb) flush_tlb_mm((tlb)->mm) | 19 | #define tlb_flush(tlb) flush_tlb_mm((tlb)->mm) |
| 20 | 20 | ||
| 21 | #define UNIQUE_ENTRYHI(idx) \ | ||
| 22 | ((CKSEG0 + ((idx) << (PAGE_SHIFT + 1))) | \ | ||
| 23 | (cpu_has_tlbinv ? MIPS_ENTRYHI_EHINV : 0)) | ||
| 24 | |||
| 21 | #include <asm-generic/tlb.h> | 25 | #include <asm-generic/tlb.h> |
| 22 | 26 | ||
| 23 | #endif /* __ASM_TLB_H */ | 27 | #endif /* __ASM_TLB_H */ |
