summaryrefslogtreecommitdiff
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>2016-02-16 13:54:05 -0800
commit97185ece7413071e95ecab25fcb88dcfe2b72b4a (patch)
tree73e54840c18400c5124daa3a0b74360eee0d400c /arch
parent4003f6b715791eddb3eb429fb3787236403d320a (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 7963aa4b5d28..6ad554b01e95 100644
--- a/arch/arm64/mm/dma-mapping.c
+++ b/arch/arm64/mm/dma-mapping.c
@@ -170,7 +170,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;