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