sh: initial PMB mapping iteration by helper macro.
authorPaul Mundt <lethal@linux-sh.org>
Thu, 21 Jan 2010 05:19:41 +0000 (14:19 +0900)
committerPaul Mundt <lethal@linux-sh.org>
Thu, 21 Jan 2010 05:19:41 +0000 (14:19 +0900)
commit77c2019fc1b4495ce483ef2af9cb12bae23e353b
treea5147af1c18fabf6384db75c33dea03648c88bf4
parent35f99c0da17beb5004f06ba86a87d82c1a6467be
sh: initial PMB mapping iteration by helper macro.

All of the cached/uncached mapping setup is duplicated for each size, and
also misses out on the 16MB case. Rather than duplicating the same iter
code for that we just consolidate it in to a helper macro that builds an
iter for each size. The 16MB case is then trivially bolted on at the end.

Signed-off-by: Paul Mundt <lethal@linux-sh.org>
arch/sh/kernel/head_32.S