compiler/tasking: fix build break after inline spinlock change

Regression by:
| commit a4fece3450
| Author: hujun5 <hujun5@xiaomi.com>
| Date:   Wed Jul 3 15:10:49 2024 +0800
|
|     spin_lock: inline spin_lock

Signed-off-by: chao an <anchao@lixiang.com>
This commit is contained in:
chao an 2024-07-16 15:03:20 +08:00 committed by Xiang Xiao
parent bc7791e079
commit 532c437dc9

View File

@ -993,7 +993,8 @@
# define end_packed_struct __attribute__((packed))
# define reentrant_function
# define naked_function
# define always_inline_function __attribute__((always_inline))
# define always_inline_function __attribute__((always_inline,no_instrument_function))
# define inline_function __attribute__((always_inline)) inline
# define noinline_function __attribute__((noinline))
# define noinstrument_function
# define nooptimiziation_function __attribute__((optimize(0)))