rcu: Make RCU use the new is_idle_task() API
commit99745b6a83414006f5c1e83efaebb423b41b67ef
authorPaul E. McKenney <paul.mckenney@linaro.org>
Thu, 10 Nov 2011 23:48:45 +0000 (10 15:48 -0800)
committerPaul E. McKenney <paulmck@linux.vnet.ibm.com>
Sun, 11 Dec 2011 18:31:48 +0000 (11 10:31 -0800)
tree454ab3cf035a8d9a42f378066b166e8b2e6ba927
parentc4f3060843506ba6d473ab9a0afe5bd5dc93a00d
rcu: Make RCU use the new is_idle_task() API

Change from direct comparison of ->pid with zero to is_idle_task().

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