summaryrefslogtreecommitdiffstats
path: root/arch/microblaze/include/asm/mmu.h
diff options
context:
space:
mode:
authorMichal Simek <monstr@monstr.eu>2011-04-04 15:46:03 +0200
committerMichal Simek <monstr@monstr.eu>2012-03-23 09:28:18 +0100
commit1451d1d88b9aa32ac9ee54180239e9b34b6f9e86 (patch)
tree417fbc899c6469af1c0b2cf2dc1a99f050cf48fd /arch/microblaze/include/asm/mmu.h
parent95b0f9ea66661681f6ae081ea28416744d622c07 (diff)
downloadblackbird-op-linux-1451d1d88b9aa32ac9ee54180239e9b34b6f9e86.tar.gz
blackbird-op-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.h1
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
OpenPOWER on IntegriCloud