From 44e53eeacfb9e294b6dee8791841ecf8bc25facf Mon Sep 17 00:00:00 2001 From: Evgeniy Paltsev Date: Mon, 9 Aug 2021 15:23:04 +0300 Subject: [PATCH] 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 --- arch/arc/include/swap_macros.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arc/include/swap_macros.h b/arch/arc/include/swap_macros.h index d405a0e25bd..8ed587e8878 100644 --- a/arch/arc/include/swap_macros.h +++ b/arch/arc/include/swap_macros.h @@ -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