Skip to content

Commit

Permalink
ARM: uniphier: drop v7_invalidate_l1 call at secondary entry
Browse files Browse the repository at this point in the history
This is unnecessary since commit 02b4e27 ("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>
  • Loading branch information
Masahiro Yamada authored and Olof Johansson committed Aug 13, 2015
1 parent b78bda5 commit fb3c442
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions arch/arm/mach-uniphier/platsmp.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
{
Expand All @@ -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 */

Expand Down

0 comments on commit fb3c442

Please sign in to comment.