aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJin Qian <jinqian@google.com>2015-09-29 18:57:35 -0700
committerJin Qian <jinqian@google.com>2015-10-01 20:55:56 +0000
commit497ead03dee0fdba4848f7a49aa2ab1c6b80c5cd (patch)
tree6e6322e594a428ba8ca32f9069301e5252a6aa33
parent1a7de43a0217aa78395040b19a5469b9a47b4977 (diff)
downloadlinux-linaro-stable-497ead03dee0fdba4848f7a49aa2ab1c6b80c5cd.tar.gz
arm64: pass return address to dma_common_contiguous_remap
Added return address to show caller function in /proc/vmallocinfo Change-Id: Ieb0bbf6ec82b561cea6ff18f0516744050dfc269
-rw-r--r--arch/arm64/mm/dma-mapping.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm64/mm/dma-mapping.c b/arch/arm64/mm/dma-mapping.c
index d92094203913..d762caa3eb15 100644
--- a/arch/arm64/mm/dma-mapping.c
+++ b/arch/arm64/mm/dma-mapping.c
@@ -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;