sh: avoid to flush all cache in sys_cacheflush
commita6786fdad97d2ef4454f75a11a4f2a3bf67f2348
authorGiuseppe CAVALLARO <peppe.cavallaro@st.com>
Wed, 17 Nov 2010 06:51:08 +0000 (17 06:51 +0000)
committerPaul Mundt <lethal@linux-sh.org>
Wed, 17 Nov 2010 08:55:30 +0000 (17 17:55 +0900)
tree1ce8c67a3e3f319fc044fd65ea04ff07c1141857
parent849653372d3f98332bf84e9fb814d9f9a02eeda2
sh: avoid to flush all cache in sys_cacheflush

Calling sys_cacheflush with ICACHE we can direclty flush
the icache without invoking the flush_cache_all function.

Signed-off-by: Giuseppe Cavallaro <peppe.cavallaro@st.com>
Signed-off-by: Carmelo Amoroso <carmelo.amoroso@st.com>
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
arch/sh/kernel/sys_sh.c