nios2: add dma_alloc_coherent
authorThomas Chou <thomas@wytron.com.tw>
Sat, 17 Apr 2010 15:34:40 +0000 (23:34 +0800)
committerScott McNutt <smcnutt@psyent.com>
Sat, 24 Apr 2010 22:21:22 +0000 (18:21 -0400)
commit7e812f2e9cdac80f6287d4aee5deb434597c4f8b
treeeb35187ca13557946626ddfdf0837515501d3fb8
parent0dc1c7f692c15fe1745e3eeab918e98ee6126677
nios2: add dma_alloc_coherent

This function return cache-line aligned allocation which is mapped
to uncached io region.

Signed-off-by: Thomas Chou <thomas@wytron.com.tw>
Signed-off-by: Scott McNutt <smcnutt@psyent.com>
arch/nios2/include/asm/dma-mapping.h [new file with mode: 0644]