1
0
Fork 0
forked from nuttx/nuttx-update

arch/sim: Fix multiple definition of g_cpu_wait' and g_cpu_paused'

Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
Change-Id: I62d81582d58c9156ee8a56207b479dad7d6d18df
This commit is contained in:
Xiang Xiao 2020-05-17 13:53:33 +08:00 committed by patacongo
parent 54c643164b
commit d938b50969

View file

@ -211,8 +211,8 @@
* so that it will be ready for the next pause operation.
*/
volatile spinlock_t g_cpu_wait[CONFIG_SMP_NCPUS] SP_SECTION;
volatile spinlock_t g_cpu_paused[CONFIG_SMP_NCPUS] SP_SECTION;
extern volatile spinlock_t g_cpu_wait[CONFIG_SMP_NCPUS] SP_SECTION;
extern volatile spinlock_t g_cpu_paused[CONFIG_SMP_NCPUS] SP_SECTION;
#endif
/****************************************************************************