Merge branch 'kvm-updates/3.2' of git://git.kernel.org/pub/scm/linux/kernel/git/avi/kvm
[pandora-kernel.git] / kernel / sched_stats.h
index 331e01b..87f9e36 100644 (file)
@@ -282,10 +282,10 @@ static inline void account_group_user_time(struct task_struct *tsk,
        if (!cputimer->running)
                return;
 
-       spin_lock(&cputimer->lock);
+       raw_spin_lock(&cputimer->lock);
        cputimer->cputime.utime =
                cputime_add(cputimer->cputime.utime, cputime);
-       spin_unlock(&cputimer->lock);
+       raw_spin_unlock(&cputimer->lock);
 }
 
 /**
@@ -306,10 +306,10 @@ static inline void account_group_system_time(struct task_struct *tsk,
        if (!cputimer->running)
                return;
 
-       spin_lock(&cputimer->lock);
+       raw_spin_lock(&cputimer->lock);
        cputimer->cputime.stime =
                cputime_add(cputimer->cputime.stime, cputime);
-       spin_unlock(&cputimer->lock);
+       raw_spin_unlock(&cputimer->lock);
 }
 
 /**
@@ -330,7 +330,7 @@ static inline void account_group_exec_runtime(struct task_struct *tsk,
        if (!cputimer->running)
                return;
 
-       spin_lock(&cputimer->lock);
+       raw_spin_lock(&cputimer->lock);
        cputimer->cputime.sum_exec_runtime += ns;
-       spin_unlock(&cputimer->lock);
+       raw_spin_unlock(&cputimer->lock);
 }