Commit fb3c4426 authored by Masahiro Yamada's avatar Masahiro Yamada Committed by Olof Johansson

ARM: uniphier: drop v7_invalidate_l1 call at secondary entry

This is unnecessary since commit 02b4e275 ("ARM: v7 setup
function should invalidate L1 cache").
Signed-off-by: default avatarMasahiro Yamada <yamada.masahiro@socionext.com>
Signed-off-by: default avatarOlof Johansson <olof@lixom.net>
parent b78bda5f
...@@ -60,12 +60,6 @@ static void __init uniphier_smp_prepare_cpus(unsigned int max_cpus) ...@@ -60,12 +60,6 @@ static void __init uniphier_smp_prepare_cpus(unsigned int max_cpus)
sbcm_regmap = NULL; 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, static int uniphier_boot_secondary(unsigned int cpu,
struct task_struct *idle) struct task_struct *idle)
{ {
...@@ -75,7 +69,7 @@ static int uniphier_boot_secondary(unsigned int cpu, ...@@ -75,7 +69,7 @@ static int uniphier_boot_secondary(unsigned int cpu,
return -ENODEV; return -ENODEV;
ret = regmap_write(sbcm_regmap, 0x1208, ret = regmap_write(sbcm_regmap, 0x1208,
virt_to_phys(uniphier_secondary_startup)); virt_to_phys(secondary_startup));
if (!ret) if (!ret)
asm("sev"); /* wake up secondary CPU */ asm("sev"); /* wake up secondary CPU */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment