瀏覽代碼

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>
Jisheng Zhang 7 年之前
父節點
當前提交
e03b48098e
共有 1 個文件被更改,包括 0 次插入1 次删除
  1. 0 1
      arch/arm/mach-berlin/platsmp.c

+ 0 - 1
arch/arm/mach-berlin/platsmp.c

@@ -81,7 +81,6 @@ static void __init berlin_smp_prepare_cpus(unsigned int max_cpus)
 		goto unmap_scu;
 		goto unmap_scu;
 
 
 	scu_enable(scu_base);
 	scu_enable(scu_base);
-	flush_cache_all();
 
 
 	/*
 	/*
 	 * Write the first instruction the CPU will execute after being reset
 	 * Write the first instruction the CPU will execute after being reset