Changeset 3bacee1 in mainline for kernel/generic/src/cpu/cpu.c
- Timestamp:
- 2018-04-12T16:27:17Z (7 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 3cf22f9
- Parents:
- 76d0981d
- git-author:
- Jiri Svoboda <jiri@…> (2018-04-11 19:25:33)
- git-committer:
- Jiri Svoboda <jiri@…> (2018-04-12 16:27:17)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/generic/src/cpu/cpu.c
r76d0981d r3bacee1 65 65 #endif /* CONFIG_SMP */ 66 66 67 cpus = (cpu_t *) malloc(sizeof(cpu_t) * config.cpu_count,67 cpus = (cpu_t *) malloc(sizeof(cpu_t) * config.cpu_count, 68 68 FRAME_ATOMIC); 69 69 if (!cpus) … … 71 71 72 72 /* Initialize everything */ 73 memsetb(cpus, sizeof(cpu_t) * config.cpu_count, 0);73 memsetb(cpus, sizeof(cpu_t) * config.cpu_count, 0); 74 74 75 75 size_t i;
Note:
See TracChangeset
for help on using the changeset viewer.