sparc: Make SPARC use the new is_idle_task() API
authorPaul E. McKenney <paul.mckenney@linaro.org>
Thu, 10 Nov 2011 23:56:46 +0000 (15:56 -0800)
committerPaul E. McKenney <paulmck@linux.vnet.ibm.com>
Sun, 11 Dec 2011 18:31:49 +0000 (10:31 -0800)
commit29f043a2caea2860db36fbeda0c17f79bf0cffbe
treec776a156e1a3d3dcee8d6082e6b731f17c94914f
parent99745b6a83414006f5c1e83efaebb423b41b67ef
sparc: Make SPARC 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>
Acked-by: David S. Miller <davem@davemloft.net>
Reviewed-by: Josh Triplett <josh@joshtriplett.org>
arch/sparc/kernel/setup_32.c