zephyr/subsys/shell
Kumar Gala a1195ae39b smp: Move for loops to use arch_num_cpus instead of CONFIG_MP_NUM_CPUS
Change for loops of the form:

for (i = 0; i < CONFIG_MP_NUM_CPUS; i++)
   ...

to

unsigned int num_cpus = arch_num_cpus();
for (i = 0; i < num_cpus; i++)
   ...

We do the call outside of the for loop so that it only happens once,
rather than on every iteration.

Signed-off-by: Kumar Gala <kumar.gala@intel.com>
2022-10-21 13:14:58 +02:00
..
backends shell/mqtt: Handle negative return value of wait 2022-09-07 10:30:16 +02:00
modules smp: Move for loops to use arch_num_cpus instead of CONFIG_MP_NUM_CPUS 2022-10-21 13:14:58 +02:00
CMakeLists.txt lib: getopt: rework and extend getopt library 2022-01-06 21:26:59 +01:00
Kconfig shell: Add option to format logging timestamp 2022-09-05 14:27:00 +02:00
Kconfig.template.shell_log_queue_size license: cleanup: add SPDX Apache-2.0 license identifier 2019-04-07 08:45:22 -04:00
Kconfig.template.shell_log_queue_timeout license: cleanup: add SPDX Apache-2.0 license identifier 2019-04-07 08:45:22 -04:00
shell.c shell: add function checking shell readiness. 2022-09-06 12:36:01 +02:00
shell_cmds.c shell: add backends command 2022-08-25 12:13:37 +02:00
shell_fprintf.c subsystems: migrate includes to <zephyr/...> 2022-05-09 12:07:35 +02:00
shell_help.c shell: don't print colon if there's no item help 2022-02-24 08:29:52 -06:00
shell_help.h subsystems: migrate includes to <zephyr/...> 2022-05-09 12:07:35 +02:00
shell_history.c subsystems: migrate includes to <zephyr/...> 2022-05-09 12:07:35 +02:00
shell_log_backend.c shell: Add option to format logging timestamp 2022-09-05 14:27:00 +02:00
shell_ops.c shell: check echo flag in z_shell_cursor_in_empty_line() 2022-05-13 10:22:17 -05:00
shell_ops.h subsystems: migrate includes to <zephyr/...> 2022-05-09 12:07:35 +02:00
shell_utils.c subsystems: migrate includes to <zephyr/...> 2022-05-09 12:07:35 +02:00
shell_utils.h includes: prefer <zephyr/kernel.h> over <zephyr/zephyr.h> 2022-09-05 16:31:47 +02:00
shell_vt100.h shell: rework vt100 commands storage 2021-09-28 20:02:01 -04:00
shell_wildcard.c coccinelle: Remove extra semicolon 2021-03-25 11:35:30 -05:00
shell_wildcard.h subsystems: migrate includes to <zephyr/...> 2022-05-09 12:07:35 +02:00