ARC: MWDT: fix SMP build for MWDT toolchain
Metaware assembler doesn't accept '@' symbol in the beginning of symbol name like GNU does. Drop excessive '@' for _curr_cpu symbol. Signed-off-by: Evgeniy Paltsev <PaltsevEvgeniy@gmail.com>
This commit is contained in:
parent
497cb2e587
commit
44e53eeacf
|
@ -386,7 +386,7 @@
|
|||
/* get pointer to _cpu_t of this CPU */
|
||||
_get_cpu_id MACRO_ARG(irq_sp)
|
||||
ASLR MACRO_ARG(irq_sp), MACRO_ARG(irq_sp), ARC_REGSHIFT
|
||||
LDR MACRO_ARG(irq_sp), MACRO_ARG(irq_sp), @_curr_cpu
|
||||
LDR MACRO_ARG(irq_sp), MACRO_ARG(irq_sp), _curr_cpu
|
||||
/* get pointer to irq_stack itself */
|
||||
LDR MACRO_ARG(irq_sp), MACRO_ARG(irq_sp), ___cpu_t_irq_stack_OFFSET
|
||||
#else
|
||||
|
|
Loading…
Reference in New Issue