Changeset 1b20da0 in mainline for kernel/generic/src/cpu/cpu_mask.c
- Timestamp:
- 2018-02-28T17:52:03Z (7 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 3061bc1
- Parents:
- df6ded8
- git-author:
- Jiří Zárevúcky <zarevucky.jiri@…> (2018-02-28 17:26:03)
- git-committer:
- Jiří Zárevúcky <zarevucky.jiri@…> (2018-02-28 17:52:03)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/generic/src/cpu/cpu_mask.c
rdf6ded8 r1b20da0 56 56 assert(cpu_cnt <= config.cpu_count); 57 57 58 for (size_t active_word = 0; 58 for (size_t active_word = 0; 59 59 (active_word + 1) * word_bit_cnt <= cpu_cnt; 60 60 ++active_word) { … … 70 70 } 71 71 72 /** Sets bits corresponding to the active cpus, ie the first 73 * config.cpu_active cpus. 72 /** Sets bits corresponding to the active cpus, ie the first 73 * config.cpu_active cpus. 74 74 */ 75 75 void cpu_mask_active(cpu_mask_t *cpus)
Note:
See TracChangeset
for help on using the changeset viewer.