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> |
||
|---|---|---|
| .. | ||
| coredump | ||
| gdbstub | ||
| asan_hacks.c | ||
| CMakeLists.txt | ||
| gdbstub_backend.h | ||
| gdbstub.c | ||
| Kconfig | ||
| thread_analyzer.c | ||
| thread_info.c | ||