Changes in kernel/generic/src/sysinfo/stats.c [07d4271:597fa24] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/generic/src/sysinfo/stats.c
r07d4271 r597fa24 90 90 91 91 /** Load calculation lock */ 92 static mutex_t load_lock;92 static MUTEX_INITIALIZE(load_lock, MUTEX_PASSIVE); 93 93 94 94 /** Get statistics of all CPUs … … 846 846 void stats_init(void) 847 847 { 848 mutex_initialize(&load_lock, MUTEX_PASSIVE);849 850 848 sysinfo_set_item_gen_data("system.cpus", NULL, get_stats_cpus, NULL); 851 849 sysinfo_set_item_gen_data("system.physmem", NULL, get_stats_physmem, NULL);
Note:
See TracChangeset
for help on using the changeset viewer.