sh: Use uncached I/O helpers in PMB setup.
commit2e450643d70b62e0192577681b227d7d5d2efa45
authorPaul Mundt <lethal@linux-sh.org>
Thu, 18 Feb 2010 04:26:05 +0000 (18 13:26 +0900)
committerPaul Mundt <lethal@linux-sh.org>
Thu, 18 Feb 2010 04:26:05 +0000 (18 13:26 +0900)
tree4ecb8fdb3177d2429e2f72202ad88cdccdaed6ae
parentb8f7918f332873a79e4c820e90e7a245ce4d3042
sh: Use uncached I/O helpers in PMB setup.

The PMB code is an example of something that spends an absurd amount of
time running uncached when only a couple of operations really need to be.
This switches over to the shiny new uncached helpers, permitting us to
spend far more time running cached.

Additionally, MMUCR twiddling is perfectly safe from cached space given
that it's paired with a control register barrier, so fix that up, too.

Signed-off-by: Paul Mundt <lethal@linux-sh.org>
arch/sh/mm/pmb.c