Changes in kernel/generic/src/cpu/cpu.c [62550dce:d99c1d2] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/generic/src/cpu/cpu.c
r62550dce rd99c1d2 48 48 #include <adt/list.h> 49 49 #include <print.h> 50 #include <sysinfo/sysinfo.h>51 50 52 51 cpu_t *cpus; … … 75 74 76 75 cpus[i].id = i; 77 cpus[i].idle_ticks = 0;78 cpus[i].busy_ticks = 0;79 76 80 77 spinlock_initialize(&cpus[i].lock, "cpu_t.lock"); … … 97 94 cpu_identify(); 98 95 cpu_arch_init(); 99 100 sysinfo_set_item_val("cpu.count", NULL, config.cpu_count);101 96 } 102 97
Note:
See TracChangeset
for help on using the changeset viewer.