Changeset 95c675b in mainline for kernel/generic/src/cpu/cpu_mask.c
- Timestamp:
- 2017-10-17T13:11:35Z (7 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 60af4cdb
- Parents:
- dbf32b1 (diff), a416d070 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)
links above to see all the changes relative to each parent. - File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/generic/src/cpu/cpu_mask.c
rdbf32b1 r95c675b 35 35 * @brief CPU mask manipulation functions. 36 36 */ 37 #include <assert.h> 37 38 #include <cpu/cpu_mask.h> 38 39 #include <cpu.h> … … 52 53 static void cpu_mask_count(cpu_mask_t *cpus, size_t cpu_cnt) 53 54 { 54 ASSERT(NULL != cpus);55 ASSERT(cpu_cnt <= config.cpu_count);55 assert(NULL != cpus); 56 assert(cpu_cnt <= config.cpu_count); 56 57 57 58 for (size_t active_word = 0; … … 87 88 void cpu_mask_none(cpu_mask_t *cpus) 88 89 { 89 ASSERT(cpus);90 assert(cpus); 90 91 91 92 size_t word_cnt = cpu_mask_size() / word_size;
Note:
See TracChangeset
for help on using the changeset viewer.