Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

-1
-1
arch/arm/mach-berlin/platsmp.c
··· 81 81 goto unmap_scu; 82 82 83 83 scu_enable(scu_base); 84 - flush_cache_all(); 85 84 86 85 /* 87 86 * Write the first instruction the CPU will execute after being reset