sh: Merge the legacy PMB mapping and entry synchronization code.
authorPaul Mundt <lethal@linux-sh.org>
Tue, 16 Feb 2010 09:39:30 +0000 (18:39 +0900)
committerPaul Mundt <lethal@linux-sh.org>
Tue, 16 Feb 2010 09:39:30 +0000 (18:39 +0900)
commitefd54ea315f645ef318708aab5714a5f1f432d03
treed1958ba3a18418e1b49298b90fdba33f37da4c27
parent55cef91a5d553265f03fe159f9fcdfac36902248
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>
arch/sh/include/asm/mmu.h
arch/sh/mm/pmb.c