diff options
author | Masahiro Yamada <yamada.masahiro@socionext.com> | 2015-08-08 14:13:44 +0200 |
---|---|---|
committer | Olof Johansson <olof@lixom.net> | 2015-08-13 12:12:10 +0200 |
commit | fb3c44267684b76329b20317f2a62dacc452a09d (patch) | |
tree | 747b0bdbb2a97c94f417fdd59a9503bd37251024 /arch/arm/mach-uniphier | |
parent | ARM: brcmstb: select ARCH_DMA_ADDR_T_64BIT for LPAE (diff) | |
download | linux-fb3c44267684b76329b20317f2a62dacc452a09d.tar.xz linux-fb3c44267684b76329b20317f2a62dacc452a09d.zip |
ARM: uniphier: drop v7_invalidate_l1 call at secondary entry
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>
Diffstat (limited to 'arch/arm/mach-uniphier')
-rw-r--r-- | arch/arm/mach-uniphier/platsmp.c | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/arch/arm/mach-uniphier/platsmp.c b/arch/arm/mach-uniphier/platsmp.c index 5943e1cb7fe1..4b784f721135 100644 --- a/arch/arm/mach-uniphier/platsmp.c +++ b/arch/arm/mach-uniphier/platsmp.c @@ -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 */ |