]> git.karo-electronics.de Git - karo-tx-linux.git/commit
rcu: Fix TINY_RCU rcu_is_cpu_rrupt_from_idle check
authorPaul E. McKenney <paul.mckenney@linaro.org>
Mon, 29 Oct 2012 11:52:56 +0000 (04:52 -0700)
committerPaul E. McKenney <paulmck@linux.vnet.ibm.com>
Tue, 13 Nov 2012 22:08:34 +0000 (14:08 -0800)
commit351573a86d0ef17cbba1c5436706602692781bfe
tree66c1665ad4e23f7278cb268e7355fb59467f97e5
parentf0a0e6f282c72247e7c8ec17c68d528c1bb4d49e
rcu: Fix TINY_RCU rcu_is_cpu_rrupt_from_idle check

The rcu_is_cpu_rrupt_from_idle() needs to allow for one interrupt level
from the idle loop, but TINY_RCU checks for a call from the idle loop
itself.  This commit fixes this issue.

Reported-by: Josh Triplett <josh@joshtriplett.org>
Signed-off-by: Paul E. McKenney <paul.mckenney@linaro.org>
Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
kernel/rcutiny.c