aboutsummaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
authorJin Qian <jinqian@google.com>2015-09-29 18:57:35 -0700
committerJohn Stultz <john.stultz@linaro.org>2015-11-19 12:58:17 -0800
commite4e51fe6f5c0abadfecc2025fc7b29a064643031 (patch)
treef323b1f817d0a1fe6f6db6e44876b19e3a90254e /arch
parentd9054c743baa2643e0baa71a3cb4cea0838d8a6a (diff)
arm64: pass return address to dma_common_contiguous_remap
Added return address to show caller function in /proc/vmallocinfo Change-Id: Ieb0bbf6ec82b561cea6ff18f0516744050dfc269
Diffstat (limited to 'arch')
-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 b0bd4e5fd5cf..cdbd4db53888 100644
--- a/arch/arm64/mm/dma-mapping.c
+++ b/arch/arm64/mm/dma-mapping.c
@@ -173,7 +173,7 @@ static void *__dma_alloc(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;