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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 17 Aug 2015 03:51:42 +0000 (20:51 -0700)
commit22ab6a2be78db078b11cc478bfc99cdc8e0642cb
treedc2e7a2a5f56ad14de8b473187c373f692064323
parent627cd1579c7620dfc22e21173291ba0f0bab0cd0
ARM: 7819/1: fiq: Cast the first argument of flush_icache_range()

commit 7cb3be0a27805c625ff7cce20c53c926d9483243 upstream.

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>
Cc: Martin Kaiser <lists@kaiser.cx>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
arch/arm/kernel/fiq.c