ARM: Fix bug in remap_range
remap_range takes generic MAP_CACHED/MAP_UNCACHED flags which are then
translated into the corresponding ARM specific bits. We call remap_range
internally from dma_alloc_* aswell, but instead of passing the generic
flags we pass the ARM specific bits.
Fix this by creating an internal __remap_range function which takes the
ARM specific bits and use it where appropriate.

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
1 parent c9a3849 commit 63b8d8774401df6d9937764b4a841e948b050e59
@Sascha Hauer Sascha Hauer authored on 13 Nov 2015
Showing 1 changed file
View
arch/arm/cpu/mmu.c