sh: Build PMB entry links for existing contiguous multi-page mappings.
authorPaul Mundt <lethal@linux-sh.org>
Wed, 17 Feb 2010 08:56:38 +0000 (17:56 +0900)
committerPaul Mundt <lethal@linux-sh.org>
Wed, 17 Feb 2010 08:56:38 +0000 (17:56 +0900)
commitd7813bc9e8e384f5a293b05c095c799d41af3668
tree285ef4ffef4a0da0f54cfc90ca259eaa426bc5e4
parent9edef28653a519bf0a48250f36cce96b1736ec4e
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>
arch/sh/include/asm/mmu.h
arch/sh/mm/pmb.c