sh: Do not apply virt_to_phys() to a physical address
authorMatt Fleming <matt@console-pimps.org>
Thu, 29 Oct 2009 21:53:30 +0000 (21:53 +0000)
committerPaul Mundt <lethal@linux-sh.org>
Fri, 30 Oct 2009 02:53:22 +0000 (11:53 +0900)
commiteb3118f652ea7751ecf6a7e467bb637895e3be3b
treec4ab1d9c903842dcdd812e52a0ea80af6986dd71
parent1d317f90d97ca8e539939ee896bd04c7efe936ca
sh: Do not apply virt_to_phys() to a physical address

The variable 'phys' already contains the physical address to flush. It
is not a virtual address and should not be passed to virt_to_phys().

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