From 483bcc99c0a349570b30fc9cb20dea20c9387a4b Mon Sep 17 00:00:00 2001 From: Vineet Gupta Date: Thu, 15 Oct 2015 20:32:39 +0530 Subject: [PATCH] ARC: boot: Non Master cpus only need to call EARLY_CPU_SETUP once With prev fixes, all cores now start via common entry point @stext which already calls EARLY_CPU_SETUP for all cores - so no need to invoke it again Signed-off-by: Vineet Gupta --- arch/arc/kernel/head.S | 2 -- 1 file changed, 2 deletions(-) diff --git a/arch/arc/kernel/head.S b/arch/arc/kernel/head.S index e7fa703c8d5e..689dd867fdff 100644 --- a/arch/arc/kernel/head.S +++ b/arch/arc/kernel/head.S @@ -120,8 +120,6 @@ END(stext) .section .text, "ax",@progbits ENTRY(first_lines_of_secondary) - CPU_EARLY_SETUP - ; setup per-cpu idle task as "current" on this CPU ld r0, [@secondary_idle_tsk] SET_CURR_TASK_ON_CPU r0, r1