mirror of
https://github.com/apache/nuttx.git
synced 2026-10-03 12:18:06 +00:00
sched/profil: Fix declaration spacing.
Some checks are pending
Build Documentation / build-html (push) Waiting to run
MemBrowse Memory Report / changes-filter (push) Waiting to run
MemBrowse Memory Report / load-targets (push) Waiting to run
MemBrowse Memory Report / identical (push) Blocked by required conditions
MemBrowse Memory Report / analyze (push) Blocked by required conditions
Some checks are pending
Build Documentation / build-html (push) Waiting to run
MemBrowse Memory Report / changes-filter (push) Waiting to run
MemBrowse Memory Report / load-targets (push) Waiting to run
MemBrowse Memory Report / identical (push) Blocked by required conditions
MemBrowse Memory Report / analyze (push) Blocked by required conditions
Add the blank line required by nxstyle after the SMP-local declaration in the profiling timer handler. Assisted-by: OpenAI Codex Signed-off-by: yushuailong <yyyusl@qq.com>
This commit is contained in:
parent
dd7d211f7b
commit
4aeac45cda
1 changed files with 1 additions and 0 deletions
|
|
@ -96,6 +96,7 @@ static void profil_timer_handler(wdparm_t arg)
|
|||
|
||||
#ifdef CONFIG_SMP
|
||||
cpu_set_t cpus = (1 << CONFIG_SMP_NCPUS) - 1;
|
||||
|
||||
CPU_CLR(this_cpu(), &cpus);
|
||||
nxsched_smp_call_async(cpus, &g_call_data);
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue