projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2e55439
)
arm: berlin: remove non-necessary flush_cache_all()
author
Jisheng Zhang
<Jisheng.Zhang@synaptics.com>
Mon, 7 May 2018 07:28:06 +0000
(15:28 +0800)
committer
Jisheng Zhang
<Jisheng.Zhang@synaptics.com>
Thu, 24 May 2018 06:49:09 +0000
(14:49 +0800)
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>
arch/arm/mach-berlin/platsmp.c
patch
|
blob
|
history
diff --git
a/arch/arm/mach-berlin/platsmp.c
b/arch/arm/mach-berlin/platsmp.c
index 7586b7aec272c0c5b3786d166d026c4f96af4afd..a8ae4a566d99b2f6cfa235aec276159691d1e318 100644
(file)
--- 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