mirror of
https://github.com/torvalds/linux.git
synced 2026-06-10 15:42:19 +02:00
arm64: pass return address to dma_common_contiguous_remap
Added return address to show caller function in /proc/vmallocinfo Change-Id: Ieb0bbf6ec82b561cea6ff18f0516744050dfc269
This commit is contained in:
parent
4003f6b715
commit
97185ece74
|
|
@ -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;
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user