diff options
author | Jin Qian <jinqian@google.com> | 2015-09-29 18:57:35 -0700 |
---|---|---|
committer | John Stultz <john.stultz@linaro.org> | 2015-11-19 12:58:17 -0800 |
commit | e4e51fe6f5c0abadfecc2025fc7b29a064643031 (patch) | |
tree | f323b1f817d0a1fe6f6db6e44876b19e3a90254e /arch | |
parent | d9054c743baa2643e0baa71a3cb4cea0838d8a6a (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.c | 2 |
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; |