ARM: 6405/1: Handle __flush_icache_all for CONFIG_SMP_ON_UP
authorTony Lindgren <tony@atomide.com>
Tue, 21 Sep 2010 16:16:40 +0000 (17:16 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Mon, 4 Oct 2010 19:23:36 +0000 (20:23 +0100)
commit81d11955bf0b5ae25e3adbec930cd84840385dae
treed58cd15acd7f7f1b90397a5c00fd92193866be4d
parentf9e417e901e891d139f4d5fd750959e4a862d9f7
ARM: 6405/1: Handle __flush_icache_all for CONFIG_SMP_ON_UP

Do this by adding flush_icache_all to cache_fns for ARMv6 and 7.
As flush_icache_all may neeed to be called from flush_kern_cache_all,
add it as the first entry in the cache_fns.

Note that now we can remove the ARM_ERRATA_411920 dependency
to !SMP so it can be selected on UP ARMv6 processors, such
as omap2.

Signed-off-by: Tony Lindgren <tony@atomide.com>
Signed-off-by: Anand Gadiyar <gadiyar@ti.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
arch/arm/Kconfig
arch/arm/include/asm/cacheflush.h
arch/arm/mm/cache-v6.S
arch/arm/mm/cache-v7.S