ARM: uniphier: drop v7_invalidate_l1 call at secondary entry
authorMasahiro Yamada <yamada.masahiro@socionext.com>
Sat, 8 Aug 2015 12:13:44 +0000 (21:13 +0900)
committerOlof Johansson <olof@lixom.net>
Thu, 13 Aug 2015 10:12:10 +0000 (12:12 +0200)
This is unnecessary since commit 02b4e2756e01 ("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>
arch/arm/mach-uniphier/platsmp.c

index 5943e1cb7fe14d9e1140a1ccf1df02eb008715bc..4b784f7211350f6971d21b2031890a4a76057624 100644 (file)
@@ -60,12 +60,6 @@ err:
        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 */