Loading arch/arm64/mm/dma-mapping.c +2 −1 Original line number Diff line number Diff line Loading @@ -255,7 +255,8 @@ static void *__dma_alloc(struct device *dev, size_t size, page = virt_to_page(ptr); prot = __get_dma_pgprot(attrs, __pgprot(PROT_NORMAL_NC), false); coherent_ptr = dma_common_contiguous_remap( page, size, VM_USERMAP, prot, NULL); page, size, VM_USERMAP, prot, __builtin_return_address(0)); if (!coherent_ptr) goto no_map; } Loading Loading
arch/arm64/mm/dma-mapping.c +2 −1 Original line number Diff line number Diff line Loading @@ -255,7 +255,8 @@ static void *__dma_alloc(struct device *dev, size_t size, page = virt_to_page(ptr); prot = __get_dma_pgprot(attrs, __pgprot(PROT_NORMAL_NC), false); coherent_ptr = dma_common_contiguous_remap( page, size, VM_USERMAP, prot, NULL); page, size, VM_USERMAP, prot, __builtin_return_address(0)); if (!coherent_ptr) goto no_map; } Loading