summaryrefslogtreecommitdiffstats
path: root/arch/arm/include
diff options
context:
space:
mode:
authorSascha Hauer <s.hauer@pengutronix.de>2017-09-26 09:48:02 +0200
committerSascha Hauer <s.hauer@pengutronix.de>2017-09-27 11:13:54 +0200
commit857f60c1c6b588588508e52c4270007fe74fa6ec (patch)
treeb381ec5ea6ed9071439737171492a7603d69edac /arch/arm/include
parentd9d88763f53e741a089241beff46b502d28c7765 (diff)
downloadbarebox-857f60c1c6b588588508e52c4270007fe74fa6ec.tar.gz
barebox-857f60c1c6b588588508e52c4270007fe74fa6ec.tar.xz
ARM: rename flush_icache to icache_invalidate
flush_icache is a misnomer since the icache is invalidated, not flushed. Rename the function accordingly. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'arch/arm/include')
-rw-r--r--arch/arm/include/asm/cache.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/include/asm/cache.h b/arch/arm/include/asm/cache.h
index 8fcdb64f74..b5460a7876 100644
--- a/arch/arm/include/asm/cache.h
+++ b/arch/arm/include/asm/cache.h
@@ -6,7 +6,7 @@ extern void v8_invalidate_icache_all(void);
extern void v8_dcache_all(void);
#endif
-static inline void flush_icache(void)
+static inline void icache_invalidate(void)
{
#if __LINUX_ARM_ARCH__ <= 7
asm volatile("mcr p15, 0, %0, c7, c5, 0" : : "r" (0));