diff options
author | Kristoffer Glembo <[email protected]> | 2011-04-28 22:17:00 +0000 |
---|---|---|
committer | David S. Miller <[email protected]> | 2011-05-16 13:41:40 -0700 |
commit | d81f087f1f1c1aacdb4f17224a554237285ddd11 (patch) | |
tree | 8be22ee127abee5e493a3ed427f0d94fb5bb7f6e /arch/sparc/kernel/time_32.c | |
parent | fb1fece5da027d3c7e69cf44ca8e58aaf0faf520 (diff) |
sparc32,leon: Remove unnecessary page_address calls in LEON DMA API.
The function mmu_inval_dma_area takes a virtual address as a parameter
which is problematic in case the buffer is located in highmem and the
mapping currently is unavailable.
Since the function was only implemented for LEON this patch removes
calls to it in non LEON code paths and renames it to dma_make_coherent
which instead takes a physical address (which for now is unused since we
flush the whole cache). This way it is possible to remove several unnecessary
calls to page_address which will fail if the virtual mapping is unavailable.
Signed-off-by: Kristoffer Glembo <[email protected]>
Acked-by: Sam Ravnborg <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'arch/sparc/kernel/time_32.c')
0 files changed, 0 insertions, 0 deletions