diff options
author | Michal Simek <monstr@monstr.eu> | 2011-04-04 15:46:03 +0200 |
---|---|---|
committer | Michal Simek <monstr@monstr.eu> | 2012-03-23 09:28:18 +0100 |
commit | 1451d1d88b9aa32ac9ee54180239e9b34b6f9e86 (patch) | |
tree | 417fbc899c6469af1c0b2cf2dc1a99f050cf48fd /arch/microblaze/include/asm/mmu.h | |
parent | microblaze: Improve TLB calculation for small systems (diff) | |
download | linux-1451d1d88b9aa32ac9ee54180239e9b34b6f9e86.tar.xz linux-1451d1d88b9aa32ac9ee54180239e9b34b6f9e86.zip |
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/asm/mmu.h')
-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 */ */ # define MICROBLAZE_TLB_SIZE 64 +# define MICROBLAZE_TLB_SKIP 2 /* * TLB entries are defined by a "high" tag portion and a "low" data |