aboutsummaryrefslogtreecommitdiffstats
path: root/arch/sh/include
diff options
context:
space:
mode:
authorPaul Mundt <lethal@linux-sh.org>2010-02-17 17:56:38 +0900
committerPaul Mundt <lethal@linux-sh.org>2010-02-17 17:56:38 +0900
commitd7813bc9e8e384f5a293b05c095c799d41af3668 (patch)
tree285ef4ffef4a0da0f54cfc90ca259eaa426bc5e4 /arch/sh/include
parentsh: uncached mapping helpers. (diff)
downloadlinux-dev-d7813bc9e8e384f5a293b05c095c799d41af3668.tar.xz
linux-dev-d7813bc9e8e384f5a293b05c095c799d41af3668.zip
sh: Build PMB entry links for existing contiguous multi-page mappings.
This plugs in entry sizing support for existing mappings and then builds on top of that for linking together entries that are mapping contiguous areas. This will ultimately permit us to coalesce mappings and promote head pages while reclaiming PMB slots for dynamic remapping. Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Diffstat (limited to '')
-rw-r--r--arch/sh/include/asm/mmu.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/sh/include/asm/mmu.h b/arch/sh/include/asm/mmu.h
index 44c904341414..5453169bf052 100644
--- a/arch/sh/include/asm/mmu.h
+++ b/arch/sh/include/asm/mmu.h
@@ -59,6 +59,7 @@ struct pmb_entry {
unsigned long vpn;
unsigned long ppn;
unsigned long flags;
+ unsigned long size;
/*
* 0 .. NR_PMB_ENTRIES for specific entry selection, or
@@ -66,7 +67,6 @@ struct pmb_entry {
*/
int entry;
- struct pmb_entry *next;
/* Adjacent entry link for contiguous multi-entry mappings */
struct pmb_entry *link;
};