Changeset 88dea9d in mainline for kernel/generic/src/cpu/cpu.c
- Timestamp:
- 2010-04-17T16:28:49Z (15 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 30a5470
- Parents:
- 5ba201d (diff), 95319bd (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.c
r5ba201d r88dea9d 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.