File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2424 .globl stext
2525stext:
2626 ;-------------------------------------------------------------------
27- ; Don't clobber r0-r4 yet. It might have bootloader provided info
27+ ; Don't clobber r0-r2 yet. It might have bootloader provided info
2828 ;-------------------------------------------------------------------
2929
3030 sr @_int_vec_base_lds , [ AUX_INTR_VEC_BASE ]
3131
3232#ifdef CONFIG_SMP
33- ; Only Boot (Master) proceeds. Others wait in platform dependent way
33+ ; Ensure Boot (Master) proceeds. Others wait in platform dependent way
3434 ; IDENTITY Reg [ 3 2 1 0 ]
3535 ; (cpu-id) ^^^ => Zero for UP ARC700
3636 ; => #Core-ID if SMP (Master 0)
3939 ; need to make sure only boot cpu takes this path.
4040 GET_CPU_ID r5
4141 cmp r5 , 0
42- jnz arc_platform_smp_wait_to_boot
42+ mov .ne r0 , r5
43+ jne arc_platform_smp_wait_to_boot
4344#endif
4445 ; Clear BSS before updating any globals
4546 ; XXX: use ZOL here
Original file line number Diff line number Diff line change 100100#define DC_CTRL_INV_MODE_FLUSH 0x40
101101#define DC_CTRL_FLUSH_STATUS 0x100
102102
103- char * arc_cache_mumbojumbo (int cpu_id , char * buf , int len )
103+ char * arc_cache_mumbojumbo (int c , char * buf , int len )
104104{
105105 int n = 0 ;
106- unsigned int c = smp_processor_id ();
107106
108107#define PR_CACHE (p , enb , str ) \
109108{ \
You can’t perform that action at this time.
0 commit comments