projects
/
GitHub
/
LineageOS
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
04742a7
)
ANDROID: arm64: pass return address to dma_common_contiguous_remap
author
Jin Qian
<jinqian@google.com>
Wed, 30 Sep 2015 01:57:35 +0000
(18:57 -0700)
committer
Amit Pundir
<amit.pundir@linaro.org>
Mon, 18 Dec 2017 15:41:22 +0000
(21:11 +0530)
Added return address to show caller function in /proc/vmallocinfo
Change-Id: Ieb0bbf6ec82b561cea6ff18f0516744050dfc269
arch/arm64/mm/dma-mapping.c
patch
|
blob
|
blame
|
history
diff --git
a/arch/arm64/mm/dma-mapping.c
b/arch/arm64/mm/dma-mapping.c
index 614af886b7ef4f7348470f8746ea822e8665401a..115b32639a3cbfcb4a76fd777717ee55edaf2bf5 100644
(file)
--- a/
arch/arm64/mm/dma-mapping.c
+++ b/
arch/arm64/mm/dma-mapping.c
@@
-166,7
+166,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;