aboutsummaryrefslogtreecommitdiffstats
path: root/arch/sh/include/asm
diff options
context:
space:
mode:
authorPaul Mundt <lethal@linux-sh.org>2010-02-17 15:33:30 +0900
committerPaul Mundt <lethal@linux-sh.org>2010-02-17 15:33:30 +0900
commit51becfd96287b3913b13075699433730984e2f4f (patch)
tree2105a0a34e99ee872637ab2f15a8e5c8d890715a /arch/sh/include/asm
parentsh: Fix up more 64-bit pgprot truncation on SH-X2 TLB. (diff)
downloadlinux-dev-51becfd96287b3913b13075699433730984e2f4f.tar.xz
linux-dev-51becfd96287b3913b13075699433730984e2f4f.zip
sh: PMB tidying.
Some overdue cleanup of the PMB code, killing off unused functionality and duplication sprinkled about the tree. Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Diffstat (limited to 'arch/sh/include/asm')
-rw-r--r--arch/sh/include/asm/mmu.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/arch/sh/include/asm/mmu.h b/arch/sh/include/asm/mmu.h
index 151bc922701b..44c904341414 100644
--- a/arch/sh/include/asm/mmu.h
+++ b/arch/sh/include/asm/mmu.h
@@ -11,7 +11,9 @@
#define PMB_ADDR 0xf6100000
#define PMB_DATA 0xf7100000
-#define PMB_ENTRY_MAX 16
+
+#define NR_PMB_ENTRIES 16
+
#define PMB_E_MASK 0x0000000f
#define PMB_E_SHIFT 8