ARM: 7819/1: fiq: Cast the first argument of flush_icache_range()
authorFabio Estevam <festevam@gmail.com>
Fri, 16 Aug 2013 11:55:56 +0000 (12:55 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Mon, 19 Aug 2013 23:11:50 +0000 (00:11 +0100)
commit7cb3be0a27805c625ff7cce20c53c926d9483243
tree02c3a65d6934c6e90353d3ab05ee7056f114179f
parentd9f966357b14e356dbd83b8f4a197a287ab4ff83
ARM: 7819/1: fiq: Cast the first argument of flush_icache_range()

Commit 2ba85e7af4 (ARM: Fix FIQ code on VIVT CPUs) causes the following build warning:

arch/arm/kernel/fiq.c:92:3: warning: passing argument 1 of 'cpu_cache.coherent_kern_range' makes integer from pointer without a cast [enabled by default]

Cast it as '(unsigned long)base' to avoid the warning.

Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
arch/arm/kernel/fiq.c