diff options
author | Vineet Gupta <vgupta@synopsys.com> | 2014-02-24 03:42:50 (GMT) |
---|---|---|
committer | Vineet Gupta <vgupta@synopsys.com> | 2014-04-05 09:16:42 (GMT) |
commit | c3441edd2dea83923421fd6050d2ffdc57696323 (patch) | |
tree | fefe55547d09cd06d51841b9ce006567ef39c547 /arch/arc/kernel | |
parent | 6041003a8fecda9932d89d2d49b3ae07475a9ff7 (diff) | |
download | linux-c3441edd2dea83923421fd6050d2ffdc57696323.tar.xz |
ARC: [SMP] General Fixes
-Pass the expected arg to non-boot park'ing routine
(It worked so far because existing SMP backends don't use the arg)
-CONFIG_DEBUG_PREEMPT warning
Diffstat (limited to 'arch/arc/kernel')
-rw-r--r-- | arch/arc/kernel/head.S | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/arch/arc/kernel/head.S b/arch/arc/kernel/head.S index 9919972..4ad0491 100644 --- a/arch/arc/kernel/head.S +++ b/arch/arc/kernel/head.S @@ -24,13 +24,13 @@ .globl stext stext: ;------------------------------------------------------------------- - ; Don't clobber r0-r4 yet. It might have bootloader provided info + ; Don't clobber r0-r2 yet. It might have bootloader provided info ;------------------------------------------------------------------- sr @_int_vec_base_lds, [AUX_INTR_VEC_BASE] #ifdef CONFIG_SMP - ; Only Boot (Master) proceeds. Others wait in platform dependent way + ; Ensure Boot (Master) proceeds. Others wait in platform dependent way ; IDENTITY Reg [ 3 2 1 0 ] ; (cpu-id) ^^^ => Zero for UP ARC700 ; => #Core-ID if SMP (Master 0) @@ -39,7 +39,8 @@ stext: ; need to make sure only boot cpu takes this path. GET_CPU_ID r5 cmp r5, 0 - jnz arc_platform_smp_wait_to_boot + mov.ne r0, r5 + jne arc_platform_smp_wait_to_boot #endif ; Clear BSS before updating any globals ; XXX: use ZOL here |