From: Miroslav Benes Date: Mon, 22 Dec 2014 19:10:12 +0000 (-0800) Subject: rcu: Fix RCU CPU stall detection in tiny implementation X-Git-Tag: omap-for-v4.1/prcm-dts-mfd-syscon-fix~166^2^2^5~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ec1fe396ff42e240c9b32111ee53665c5916fe5e;p=pandora-kernel.git rcu: Fix RCU CPU stall detection in tiny implementation The tiny RCU CPU stall detection depends on *rcp->curtail not being NULL. It is however a tail pointer and thus NULL by definition. Instead we should check rcp->rcucblist for the presence of pending callbacks which need to be processed. With this fix INFO about the stall is printed and jiffies_stall (jiffies at next stall) correctly updated. Note that the check for pending callback is necessary to avoid spurious warnings if there are no pendings callbacks. Signed-off-by: Miroslav Benes [ paulmck: Fused identical "if" statements, ported to -rcu. ] Signed-off-by: Paul E. McKenney --- Reading git-diff-tree failed