aboutsummaryrefslogtreecommitdiffstats
path: root/arch/sh/include/asm/mmu.h
diff options
context:
space:
mode:
authorPaul Mundt <lethal@linux-sh.org>2010-02-16 18:39:30 +0900
committerPaul Mundt <lethal@linux-sh.org>2010-02-16 18:39:30 +0900
commitefd54ea315f645ef318708aab5714a5f1f432d03 (patch)
treed1958ba3a18418e1b49298b90fdba33f37da4c27 /arch/sh/include/asm/mmu.h
parentsh: Prevent fixed slot PMB remapping from clobbering boot entries. (diff)
downloadlinux-dev-efd54ea315f645ef318708aab5714a5f1f432d03.tar.xz
linux-dev-efd54ea315f645ef318708aab5714a5f1f432d03.zip
sh: Merge the legacy PMB mapping and entry synchronization code.
This merges the code for iterating over the legacy PMB mappings and the code for synchronizing software state with the hardware mappings. There's really no reason to do the same iteration twice, and this also buys us the legacy entry logging facility for the dynamic PMB case. Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Diffstat (limited to 'arch/sh/include/asm/mmu.h')
-rw-r--r--arch/sh/include/asm/mmu.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/sh/include/asm/mmu.h b/arch/sh/include/asm/mmu.h
index ca7d91e8aa72..2fcbedb55002 100644
--- a/arch/sh/include/asm/mmu.h
+++ b/arch/sh/include/asm/mmu.h
@@ -25,6 +25,7 @@
#define PMB_C 0x00000008
#define PMB_WT 0x00000001
#define PMB_UB 0x00000200
+#define PMB_CACHE_MASK (PMB_C | PMB_WT | PMB_UB)
#define PMB_V 0x00000100
#define PMB_NO_ENTRY (-1)