]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
Merge remote-tracking branch 'rcu/rcu/next'
authorStephen Rothwell <sfr@canb.auug.org.au>
Mon, 12 Sep 2011 04:24:40 +0000 (14:24 +1000)
committerStephen Rothwell <sfr@canb.auug.org.au>
Mon, 12 Sep 2011 04:24:40 +0000 (14:24 +1000)
1  2 
include/linux/rcupdate.h
include/linux/sched.h
init/Kconfig
kernel/lockdep.c
kernel/pid.c
kernel/rcupdate.c
kernel/rcutorture.c
kernel/rcutree_trace.c
kernel/rtmutex.c
kernel/sched.c

Simple merge
Simple merge
diff --cc init/Kconfig
Simple merge
Simple merge
diff --cc kernel/pid.c
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
diff --cc kernel/sched.c
index ec5f472bc5b9cec2a5c43ab7f8a054ecca75b39a,313c0f63e29a9b36b47b11e7f284f8482fd3580f..3e552563045909ba881e1fb19d004619f8f88a27
@@@ -8228,8 -8185,10 +8218,9 @@@ static inline int preempt_count_equals(
  
  void __might_sleep(const char *file, int line, int preempt_offset)
  {
 -#ifdef in_atomic
        static unsigned long prev_jiffy;        /* ratelimiting */
  
+       rcu_sleep_check(); /* WARN_ON_ONCE() by default, no rate limit reqd. */
        if ((preempt_count_equals(preempt_offset) && !irqs_disabled()) ||
            system_state != SYSTEM_RUNNING || oops_in_progress)
                return;