diff options
author | Jan Nikitenko <jan.nikitenko@gmail.com> | 2008-11-28 10:52:58 +0300 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2009-03-24 01:38:04 +0300 |
commit | d7001198366bffce4506ba21b7b0fee2de194f73 (patch) | |
tree | d6fc12a93c413fc913b2652fc51a0f0d5265787b /arch/mips/mm/c-r4k.c | |
parent | d56ffd38a93841a07c839a375049a56b51e9567c (diff) | |
download | linux-d7001198366bffce4506ba21b7b0fee2de194f73.tar.xz |
MIPS: Fix oops in dma_unmap_page on not coherent mips platforms
dma_cache_wback_inv() expects virtual address, but physical was provided
due to translation via plat_dma_addr_to_phys().
If replaced with dma_addr_to_virt(), page fault oops from dma_unmap_page()
is gone on au1550 platform.
Signed-off-by: Jan Nikitenko <jan.nikitenko@gmail.com>
Acked-by: Atsushi Nemoto <anemo@mba.ocn.ne.jp>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'arch/mips/mm/c-r4k.c')
0 files changed, 0 insertions, 0 deletions