Skip to content
Commit 1fbf57d0 authored by Christoph Hellwig's avatar Christoph Hellwig
Browse files

dma-direct: re-enable mmap for !CONFIG_MMU



nommu configfs can trivially map the coherent allocations to user space,
as no actual page table setup is required and the kernel and the user
space programs share the same address space.

Fixes: 62fcee9a ("dma-mapping: remove CONFIG_ARCH_NO_COHERENT_DMA_MMAP")
Signed-off-by: default avatarChristoph Hellwig <hch@lst.de>
Reported-by: default avatardillon min <dillon.minfei@gmail.com>
Reviewed-by: default avatarVladimir Murzin <vladimir.murzin@arm.com>
Tested-by: default avatardillon min <dillon.minfei@gmail.com>
parent dbed452a
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment