Skip to content

Commit

Permalink
arm64: pass return address to dma_common_contiguous_remap
Browse files Browse the repository at this point in the history
Added return address to show caller function in /proc/vmallocinfo

Change-Id: Ieb0bbf6ec82b561cea6ff18f0516744050dfc269
  • Loading branch information
Jin Qian committed Oct 1, 2015
1 parent 1a7de43 commit 497ead0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion arch/arm64/mm/dma-mapping.c
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@ static void *__dma_alloc_noncoherent(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;

Expand Down

0 comments on commit 497ead0

Please sign in to comment.