ARM: mmu: Simplify the use of dma_flush_range()
Simplify the use of dma_flush_range() by changing its signature to
accept pointer to start of the data and data size. This change allows
us to avoid a whole bunch of repetitive arithmetic currently done by
all of the callers.

Reviewed-by: Lucas Stach <l.stach@pengutronix.de>
Signed-off-by: Andrey Smirnov <andrew.smirnov@gmail.com>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
1 parent 9bb40f7 commit 3bd93a167bc66d95cd081d441048a46be2e58a4a
@Andrey Smirnov Andrey Smirnov authored on 21 May 2018
Sascha Hauer committed on 22 May 2018
Showing 1 changed file
View
arch/arm/cpu/mmu.c