summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-berlin
diff options
context:
space:
mode:
authorJisheng Zhang <Jisheng.Zhang@synaptics.com>2018-05-07 15:28:06 +0800
committerJisheng Zhang <Jisheng.Zhang@synaptics.com>2018-05-24 14:49:09 +0800
commite03b48098ed8729e643b8d9b13a5b250fc403ad2 (patch)
tree8a46ef963a863e6634c65446d1ebb308b85666d4 /arch/arm/mach-berlin
parent2e554390ab8470e9f8bccfd602395c3b4c19c37e (diff)
downloadlinux-0-day-e03b48098ed8729e643b8d9b13a5b250fc403ad2.tar.gz
linux-0-day-e03b48098ed8729e643b8d9b13a5b250fc403ad2.tar.xz
arm: berlin: remove non-necessary flush_cache_all()
I believe the flush_cache_all() after scu_enable() is to "Ensure that the data accessed by CPU0 before the SCU was initialised is visible to the other CPUs." as commented in scu_enable(). So here flush_cache_all() is a duplication, remove it. Signed-off-by: Jisheng Zhang <Jisheng.Zhang@synaptics.com>
Diffstat (limited to 'arch/arm/mach-berlin')
-rw-r--r--arch/arm/mach-berlin/platsmp.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/arch/arm/mach-berlin/platsmp.c b/arch/arm/mach-berlin/platsmp.c
index 7586b7aec272c..a8ae4a566d99b 100644
--- a/arch/arm/mach-berlin/platsmp.c
+++ b/arch/arm/mach-berlin/platsmp.c
@@ -81,7 +81,6 @@ static void __init berlin_smp_prepare_cpus(unsigned int max_cpus)
goto unmap_scu;
scu_enable(scu_base);
- flush_cache_all();
/*
* Write the first instruction the CPU will execute after being reset