Skip to content

Commit

Permalink
ARC: boot: Non Master cpus only need to call EARLY_CPU_SETUP once
Browse files Browse the repository at this point in the history
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 <vgupta@synopsys.com>
  • Loading branch information
Vineet Gupta committed Oct 28, 2015
1 parent aa0efcd commit 483bcc9
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions arch/arc/kernel/head.S
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 483bcc9

Please sign in to comment.