You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by pk...@apache.org on 2022/01/21 23:16:05 UTC
[incubator-nuttx-apps] branch master updated: Rename CONFIG_SMP_NCPUS to CONFIG_NR_CPUS
This is an automated email from the ASF dual-hosted git repository.
pkarashchenko pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-nuttx-apps.git
The following commit(s) were added to refs/heads/master by this push:
new db235f9 Rename CONFIG_SMP_NCPUS to CONFIG_NR_CPUS
db235f9 is described below
commit db235f98d8ad841540427e03ac228fe584b86a52
Author: Xiang Xiao <xi...@xiaomi.com>
AuthorDate: Wed Jan 19 03:03:58 2022 +0800
Rename CONFIG_SMP_NCPUS to CONFIG_NR_CPUS
follow up NuttX side change
Signed-off-by: Xiang Xiao <xi...@xiaomi.com>
---
system/trace/trace_dump.c | 6 +-----
1 file changed, 1 insertion(+), 5 deletions(-)
diff --git a/system/trace/trace_dump.c b/system/trace/trace_dump.c
index 8863858..1f41f90 100644
--- a/system/trace/trace_dump.c
+++ b/system/trace/trace_dump.c
@@ -45,11 +45,7 @@
# endif
#endif
-#ifdef CONFIG_SMP
-# define NCPUS CONFIG_SMP_NCPUS
-#else
-# define NCPUS 1
-#endif
+#define NCPUS CONFIG_SMP_NCPUS
/****************************************************************************
* Pre-processor Definitions