linux-next: manual merge of the tip tree with the cputime tree

From: Stephen Rothwell
Date: Tue Oct 25 2011 - 03:44:34 EST


Hi all,

Today's linux-next merge of the tip tree got a conflict in
kernel/sched_stats.h between commit f6116715d1ba ("[S390] cputime: add
sparse checking and cleanup") from the cputime tree and commit
ee30a7b2fc07 ("locking, sched: Annotate thread_group_cputimer as raw")
from the tip tree.

Just context changes. I fixed it up (see below) and can carry the fix as
necessary.
--
Cheers,
Stephen Rothwell sfr@xxxxxxxxxxxxxxxx

diff --cc kernel/sched_stats.h
index a455e62,87f9e36..0000000
--- a/kernel/sched_stats.h
+++ b/kernel/sched_stats.h
@@@ -282,9 -282,10 +282,9 @@@ static inline void account_group_user_t
if (!cputimer->running)
return;

- spin_lock(&cputimer->lock);
+ raw_spin_lock(&cputimer->lock);
- cputimer->cputime.utime =
- cputime_add(cputimer->cputime.utime, cputime);
+ cputimer->cputime.utime += cputime;
- spin_unlock(&cputimer->lock);
+ raw_spin_unlock(&cputimer->lock);
}

/**
@@@ -305,9 -306,10 +305,9 @@@ static inline void account_group_system
if (!cputimer->running)
return;

- spin_lock(&cputimer->lock);
+ raw_spin_lock(&cputimer->lock);
- cputimer->cputime.stime =
- cputime_add(cputimer->cputime.stime, cputime);
+ cputimer->cputime.stime += cputime;
- spin_unlock(&cputimer->lock);
+ raw_spin_unlock(&cputimer->lock);
}

/**

Attachment: pgp00000.pgp
Description: PGP signature