提交 fb3c4426 编写于 作者: M Masahiro Yamada 提交者: 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: NMasahiro Yamada <yamada.masahiro@socionext.com>
Signed-off-by: NOlof Johansson <olof@lixom.net>
上级 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% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册