]> asedeno.scripts.mit.edu Git - linux.git/commit
nios2: use the generic uncached segment support in dma-direct
authorChristoph Hellwig <hch@lst.de>
Sun, 28 Apr 2019 19:00:52 +0000 (14:00 -0500)
committerChristoph Hellwig <hch@lst.de>
Tue, 25 Jun 2019 12:28:06 +0000 (14:28 +0200)
commitb1acd4b8a8942f614053e516c56c88e1716562d6
treeb8951a3c62f573aa7445bf695a19f66a282fd578
parent6309513c1be47cd3805a6ceae60ab70285df36ae
nios2: use the generic uncached segment support in dma-direct

Stop providing our own arch alloc/free hooks and just expose the segment
offset and use the generic dma-direct allocator.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Acked-by: Ley Foon Tan <ley.foon.tan@intel.com>
arch/nios2/Kconfig
arch/nios2/include/asm/page.h
arch/nios2/mm/dma-mapping.c