Skip to content
Commit 4ac1c68e authored by Christoph Hellwig's avatar Christoph Hellwig
Browse files

nds32: consolidate DMA cache maintainance routines



Make sure all other DMA methods call nds32_dma_sync_single_for_{device,cpu}
to perform cache maintaince, and remove the consisteny_sync helper that
implemented both with entirely separate code based off an argument.

Also make sure these helpers handled highmem properly, for which code
is copy and pasted from mips.

Signed-off-by: default avatarChristoph Hellwig <hch@lst.de>
Acked-by: default avatarGreentime Hu <greentime@andestech.com>
Tested-by: default avatarGreentime Hu <greentime@andestech.com>
parent 0ead51c3
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment