Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 497ead03 authored by Jin Qian's avatar Jin Qian
Browse files

arm64: pass return address to dma_common_contiguous_remap

Added return address to show caller function in /proc/vmallocinfo

Change-Id: Ieb0bbf6ec82b561cea6ff18f0516744050dfc269
parent 1a7de43a
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -166,7 +166,7 @@ static void *__dma_alloc_noncoherent(struct device *dev, size_t size,
	coherent_ptr = dma_common_contiguous_remap(page, size, VM_USERMAP,
				__get_dma_pgprot(attrs,
					__pgprot(PROT_NORMAL_NC), false),
					NULL);
					__builtin_return_address(0));
	if (!coherent_ptr)
		goto no_map;