|
@@ -121,7 +121,7 @@ static inline void task_group_account_field(struct task_struct *p, int index,
|
|
|
* is the only cgroup, then nothing else should be necessary.
|
|
|
*
|
|
|
*/
|
|
|
- __get_cpu_var(kernel_cpustat).cpustat[index] += tmp;
|
|
|
+ __this_cpu_add(kernel_cpustat.cpustat[index], tmp);
|
|
|
|
|
|
cpuacct_account_field(p, index, tmp);
|
|
|
}
|