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:Christoph Hellwig <hch@lst.de> Reported-by:
dillon min <dillon.minfei@gmail.com> Reviewed-by:
Vladimir Murzin <vladimir.murzin@arm.com> Tested-by:
dillon min <dillon.minfei@gmail.com>
Showing
Please register or sign in to comment