commit | 77c2019fc1b4495ce483ef2af9cb12bae23e353b | [log] [tgz] |
---|---|---|
author | Paul Mundt <lethal@linux-sh.org> | Thu Jan 21 14:19:41 2010 +0900 |
committer | Paul Mundt <lethal@linux-sh.org> | Thu Jan 21 14:19:41 2010 +0900 |
tree | a5147af1c18fabf6384db75c33dea03648c88bf4 | |
parent | 35f99c0da17beb5004f06ba86a87d82c1a6467be [diff] |
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>