~martin-decky/helenos/rcu

« back to all changes in this revision

Viewing changes to kernel/generic/src/sysinfo/stats.c

  • Committer: Martin Decky
  • Date: 2012-06-15 17:07:30 UTC
  • Revision ID: martin@decky.cz-20120615170730-aj8q3dd5n4nvce2a
cstyle

Show diffs side-by-side

added added

removed removed

Lines of Context:
118
118
                return NULL;
119
119
        }
120
120
        
121
 
        size_t i;
122
 
        for (i = 0; i < config.cpu_count; i++) {
 
121
        for (size_t i = 0; i < config.cpu_count; i++) {
123
122
                irq_spinlock_lock(&cpus[i].lock, true);
124
123
                
125
124
                stats_cpus[i].id = cpus[i].id;