]> 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, 30 Oct 2012 13:29:34 +0000 (06:29 -0700)
commit2ff0f2060918b13ae935ee16f12296a3f2bcd38f
treec38980e39aac103ecaa9a4e1eafcbf8ca99ce995
parent57d056411f484f5a884a34941b9b4a9c8a5ea7a7
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