diff options
| author | Jiri Kosina <jkosina@suse.cz> | 2011-11-13 14:55:35 -0500 |
|---|---|---|
| committer | Jiri Kosina <jkosina@suse.cz> | 2011-11-13 14:55:53 -0500 |
| commit | 2290c0d06d82faee87b1ab2d9d4f7bf81ef64379 (patch) | |
| tree | e075e4d5534193f28e6059904f61e5ca03958d3c /kernel/sched_stats.h | |
| parent | 4da669a2e3e5bc70b30a0465f3641528681b5f77 (diff) | |
| parent | 52e4c2a05256cb83cda12f3c2137ab1533344edb (diff) | |
Merge branch 'master' into for-next
Sync with Linus tree to have 157550ff ("mtd: add GPMI-NAND driver
in the config and Makefile") as I have patch depending on that one.
Diffstat (limited to 'kernel/sched_stats.h')
| -rw-r--r-- | kernel/sched_stats.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/kernel/sched_stats.h b/kernel/sched_stats.h index 331e01bcd026..87f9e36ea56e 100644 --- a/kernel/sched_stats.h +++ b/kernel/sched_stats.h | |||
| @@ -282,10 +282,10 @@ static inline void account_group_user_time(struct task_struct *tsk, | |||
| 282 | if (!cputimer->running) | 282 | if (!cputimer->running) |
| 283 | return; | 283 | return; |
| 284 | 284 | ||
| 285 | spin_lock(&cputimer->lock); | 285 | raw_spin_lock(&cputimer->lock); |
| 286 | cputimer->cputime.utime = | 286 | cputimer->cputime.utime = |
| 287 | cputime_add(cputimer->cputime.utime, cputime); | 287 | cputime_add(cputimer->cputime.utime, cputime); |
| 288 | spin_unlock(&cputimer->lock); | 288 | raw_spin_unlock(&cputimer->lock); |
| 289 | } | 289 | } |
| 290 | 290 | ||
| 291 | /** | 291 | /** |
| @@ -306,10 +306,10 @@ static inline void account_group_system_time(struct task_struct *tsk, | |||
| 306 | if (!cputimer->running) | 306 | if (!cputimer->running) |
| 307 | return; | 307 | return; |
| 308 | 308 | ||
| 309 | spin_lock(&cputimer->lock); | 309 | raw_spin_lock(&cputimer->lock); |
| 310 | cputimer->cputime.stime = | 310 | cputimer->cputime.stime = |
| 311 | cputime_add(cputimer->cputime.stime, cputime); | 311 | cputime_add(cputimer->cputime.stime, cputime); |
| 312 | spin_unlock(&cputimer->lock); | 312 | raw_spin_unlock(&cputimer->lock); |
| 313 | } | 313 | } |
| 314 | 314 | ||
| 315 | /** | 315 | /** |
| @@ -330,7 +330,7 @@ static inline void account_group_exec_runtime(struct task_struct *tsk, | |||
| 330 | if (!cputimer->running) | 330 | if (!cputimer->running) |
| 331 | return; | 331 | return; |
| 332 | 332 | ||
| 333 | spin_lock(&cputimer->lock); | 333 | raw_spin_lock(&cputimer->lock); |
| 334 | cputimer->cputime.sum_exec_runtime += ns; | 334 | cputimer->cputime.sum_exec_runtime += ns; |
| 335 | spin_unlock(&cputimer->lock); | 335 | raw_spin_unlock(&cputimer->lock); |
| 336 | } | 336 | } |
