diff options
author | Paul Mundt <lethal@linux-sh.org> | 2010-02-17 17:56:38 +0900 |
---|---|---|
committer | Paul Mundt <lethal@linux-sh.org> | 2010-02-17 17:56:38 +0900 |
commit | d7813bc9e8e384f5a293b05c095c799d41af3668 (patch) | |
tree | 285ef4ffef4a0da0f54cfc90ca259eaa426bc5e4 /arch/sh/include | |
parent | 9edef28653a519bf0a48250f36cce96b1736ec4e (diff) | |
download | kernel_samsung_smdk4412-d7813bc9e8e384f5a293b05c095c799d41af3668.zip kernel_samsung_smdk4412-d7813bc9e8e384f5a293b05c095c799d41af3668.tar.gz kernel_samsung_smdk4412-d7813bc9e8e384f5a293b05c095c799d41af3668.tar.bz2 |
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 'arch/sh/include')
-rw-r--r-- | arch/sh/include/asm/mmu.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/sh/include/asm/mmu.h b/arch/sh/include/asm/mmu.h index 44c9043..5453169 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; }; |