Loading arch/arm/mm/dma-mapping.c +4 −0 Original line number Diff line number Diff line Loading @@ -580,6 +580,10 @@ static void *__alloc_from_contiguous(struct device *dev, size_t size, * clients trying to use the address incorrectly */ ptr = (void *)NO_KERNEL_MAPPING_DUMMY; /* also flush out the stale highmem mappings */ kmap_flush_unused(); kmap_atomic_flush_unused(); } else { ptr = __dma_alloc_remap(page, size, GFP_KERNEL, prot, caller); Loading Loading
arch/arm/mm/dma-mapping.c +4 −0 Original line number Diff line number Diff line Loading @@ -580,6 +580,10 @@ static void *__alloc_from_contiguous(struct device *dev, size_t size, * clients trying to use the address incorrectly */ ptr = (void *)NO_KERNEL_MAPPING_DUMMY; /* also flush out the stale highmem mappings */ kmap_flush_unused(); kmap_atomic_flush_unused(); } else { ptr = __dma_alloc_remap(page, size, GFP_KERNEL, prot, caller); Loading