diff options
author | Michal Simek <monstr@monstr.eu> | 2011-04-04 09:46:03 -0400 |
---|---|---|
committer | Michal Simek <monstr@monstr.eu> | 2012-03-23 04:28:18 -0400 |
commit | 1451d1d88b9aa32ac9ee54180239e9b34b6f9e86 (patch) | |
tree | 417fbc899c6469af1c0b2cf2dc1a99f050cf48fd /arch/microblaze/include | |
parent | 95b0f9ea66661681f6ae081ea28416744d622c07 (diff) |
microblaze: Introduce TLB skip size
TLB skip size direct how many TLBs is skipped.
Currently TLB0 and TLB1 are used for Linux kernel mapping
that's why their are skipped.
Signed-off-by: Michal Simek <monstr@monstr.eu>
Diffstat (limited to 'arch/microblaze/include')
-rw-r--r-- | arch/microblaze/include/asm/mmu.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/microblaze/include/asm/mmu.h b/arch/microblaze/include/asm/mmu.h index 8d6a654ceffb..5198de8b1224 100644 --- a/arch/microblaze/include/asm/mmu.h +++ b/arch/microblaze/include/asm/mmu.h | |||
@@ -68,6 +68,7 @@ extern void _tlbia(void); /* invalidate all TLB entries */ | |||
68 | */ | 68 | */ |
69 | 69 | ||
70 | # define MICROBLAZE_TLB_SIZE 64 | 70 | # define MICROBLAZE_TLB_SIZE 64 |
71 | # define MICROBLAZE_TLB_SKIP 2 | ||
71 | 72 | ||
72 | /* | 73 | /* |
73 | * TLB entries are defined by a "high" tag portion and a "low" data | 74 | * TLB entries are defined by a "high" tag portion and a "low" data |