[ARM] 5516/1: Flush the D-cache after initialising the SCU
authorCatalin Marinas <catalin.marinas@arm.com>
Mon, 18 May 2009 15:26:27 +0000 (16:26 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Thu, 28 May 2009 12:52:05 +0000 (13:52 +0100)
commitaf73110d23fb54f940197d93a410e9fa0cee66e2
tree29e1e92000e8933937432bc818ed42101eff8a2d
parent4c5158d4c3ab1f2927a740372a0ee9c3fed7ba47
[ARM] 5516/1: Flush the D-cache after initialising the SCU

On MP systems, the data loaded by CPU0 before the SCU was initialised
may not be visible to the other CPUs.

Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
This also includes the following compile fix:

This patch includes 'asm/cacheflush.h' which is needed to use
'flush_cache_all()' function.

Signed-off-by: Santosh Shilimkar <santosh.shilimkar@ti.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
arch/arm/kernel/smp_scu.c