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

Commit 7663ed4f authored by Jin Qian's avatar Jin Qian Committed by Dmitry Shmidt
Browse files

ANDROID: arm64: pass return address to dma_common_contiguous_remap

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

Change-Id: Ieb0bbf6ec82b561cea6ff18f0516744050dfc269
parent a9c2864f
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -174,7 +174,7 @@ static void *__dma_alloc(struct device *dev, size_t size,
	/* create a coherent mapping */
	page = virt_to_page(ptr);
	coherent_ptr = dma_common_contiguous_remap(page, size, VM_USERMAP,
						   prot, NULL);
						   prot, __builtin_return_address(0));
	if (!coherent_ptr)
		goto no_map;