ARM: uniphier: drop v7_invalidate_l1 call at secondary entry

This is unnecessary since commit 02b4e2756e ("ARM: v7 setup
function should invalidate L1 cache").

Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Signed-off-by: Olof Johansson <olof@lixom.net>
This commit is contained in:
Masahiro Yamada 2015-08-08 21:13:44 +09:00 committed by Olof Johansson
parent b78bda5fd8
commit fb3c442676
1 changed files with 1 additions and 7 deletions

View File

@ -60,12 +60,6 @@ static void __init uniphier_smp_prepare_cpus(unsigned int max_cpus)
sbcm_regmap = NULL;
}
static void __naked uniphier_secondary_startup(void)
{
asm("bl v7_invalidate_l1\n"
"b secondary_startup\n");
};
static int uniphier_boot_secondary(unsigned int cpu,
struct task_struct *idle)
{
@ -75,7 +69,7 @@ static int uniphier_boot_secondary(unsigned int cpu,
return -ENODEV;
ret = regmap_write(sbcm_regmap, 0x1208,
virt_to_phys(uniphier_secondary_startup));
virt_to_phys(secondary_startup));
if (!ret)
asm("sev"); /* wake up secondary CPU */