From: Stephen Rothwell Date: Fri, 9 Sep 2011 04:57:18 +0000 (+1000) Subject: Merge remote-tracking branch 'rcu/rcu/next' X-Git-Tag: next-20110909~19 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=d262fbfc8635df442748f6511a46f48a8888dfe3;p=karo-tx-linux.git Merge remote-tracking branch 'rcu/rcu/next' --- d262fbfc8635df442748f6511a46f48a8888dfe3 diff --cc kernel/sched.c index ec5f472bc5b9,313c0f63e29a..3e5525630459 --- a/kernel/sched.c +++ b/kernel/sched.c @@@ -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;