projects
/
cascardo
/
linux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge branch 'timers-nohz-for-linus' of git://git.kernel.org/pub/scm/linux/kernel...
[cascardo/linux.git]
/
kernel
/
sched
/
cputime.c
diff --git
a/kernel/sched/cputime.c
b/kernel/sched/cputime.c
index
c1d7493
..
ace34f9
100644
(file)
--- a/
kernel/sched/cputime.c
+++ b/
kernel/sched/cputime.c
@@
-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);
}