Files
android_kernel_xiaomi_sm8450/arch/arm/mm
Benjamin Gaignard 79964a1c29 ARM: 8633/1: nommu: allow mmap when !CONFIG_MMU
commit ab6494f0c9 ("nommu: Add noMMU support to the DMA API") have
add CONFIG_MMU compilation flag but that prohibit to use dma_mmap_wc()
when the platform doesn't have MMU.

This patch call vm_iomap_memory() in noMMU case to test if addresses
are correct and set vma->vm_flags rather than all return an error.

Signed-off-by: Benjamin Gaignard <benjamin.gaignard@linaro.org>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
2017-01-10 23:32:54 +00:00
..
2016-12-25 10:47:44 +01:00
2016-09-27 21:15:14 -04:00
2016-09-06 15:51:09 +01:00
2016-02-27 10:28:52 -08:00
2016-07-26 16:19:19 -07:00