sh: Kill off broken PHYSADDR() usage in sh4_flush_dcache_page().
authorPaul Mundt <lethal@linux-sh.org>
Wed, 9 Sep 2009 05:10:28 +0000 (14:10 +0900)
committerPaul Mundt <lethal@linux-sh.org>
Wed, 9 Sep 2009 05:10:28 +0000 (14:10 +0900)
commit31c9efde786252112cc3d04a1ed3513b6ec63a7b
tree5f59621974882f1cab719fff3b9db0764dbfef19
parent654d364e26c797e8a5f9e2a1393607e6ca0106eb
sh: Kill off broken PHYSADDR() usage in sh4_flush_dcache_page().

PHYSADDR() runs in to issues in 32-bit mode when we do not have the
legacy P1/P2 areas mapped, as such, we need to use page_to_phys()
directly, which also happens to do the right thing in legacy 29-bit mode.

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