diff options
author | Paul Mundt <lethal@linux-sh.org> | 2010-02-17 03:56:38 -0500 |
---|---|---|
committer | Paul Mundt <lethal@linux-sh.org> | 2010-02-17 03:56:38 -0500 |
commit | d7813bc9e8e384f5a293b05c095c799d41af3668 (patch) | |
tree | 285ef4ffef4a0da0f54cfc90ca259eaa426bc5e4 /arch/sh/include/asm/mmu.h | |
parent | 9edef28653a519bf0a48250f36cce96b1736ec4e (diff) |
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/asm/mmu.h')
-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 44c90434141..5453169bf05 100644 --- a/arch/sh/include/asm/mmu.h +++ b/arch/sh/include/asm/mmu.h | |||
@@ -59,6 +59,7 @@ struct pmb_entry { | |||
59 | unsigned long vpn; | 59 | unsigned long vpn; |
60 | unsigned long ppn; | 60 | unsigned long ppn; |
61 | unsigned long flags; | 61 | unsigned long flags; |
62 | unsigned long size; | ||
62 | 63 | ||
63 | /* | 64 | /* |
64 | * 0 .. NR_PMB_ENTRIES for specific entry selection, or | 65 | * 0 .. NR_PMB_ENTRIES for specific entry selection, or |
@@ -66,7 +67,6 @@ struct pmb_entry { | |||
66 | */ | 67 | */ |
67 | int entry; | 68 | int entry; |
68 | 69 | ||
69 | struct pmb_entry *next; | ||
70 | /* Adjacent entry link for contiguous multi-entry mappings */ | 70 | /* Adjacent entry link for contiguous multi-entry mappings */ |
71 | struct pmb_entry *link; | 71 | struct pmb_entry *link; |
72 | }; | 72 | }; |