huojianchaoyy commented on code in PR #22093: URL: https://github.com/apache/nuttx/pull/22093#discussion_r4661677352
########## sched/misc/assert.c: ########## @@ -118,20 +118,18 @@ #ifdef CONFIG_SMP static noreturn_function int pause_cpu_handler(FAR void *arg); #endif +typedef uintptr_t last_regs_t[XCPTCONTEXT_REGS]; /**************************************************************************** * Private Data ****************************************************************************/ #ifdef CONFIG_SMP -static bool g_cpu_paused[CONFIG_SMP_NCPUS]; +static DEFINE_PER_CPU_BSS_SMP(bool, g_cpu_paused); Review Comment: done -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
