events: Make events use the new is_idle_task() API
authorPaul E. McKenney <paul.mckenney@linaro.org>
Fri, 11 Nov 2011 00:02:52 +0000 (16:02 -0800)
committerPaul E. McKenney <paulmck@linux.vnet.ibm.com>
Sun, 11 Dec 2011 18:31:54 +0000 (10:31 -0800)
commit77aeeebd7b5483582d0eb6e3fd2894771d1fd8e5
treefc46b87358f3d68c6d2c82813e2667fd1afd996e
parent7fc20c5cbdd184f32cb0f886f1a069f123f5787a
events: Make events 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>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Cc: Paul Mackerras <paulus@samba.org>
Cc: Ingo Molnar <mingo@elte.hu>
Cc: Arnaldo Carvalho de Melo <acme@ghostprotocols.net>
Reviewed-by: Josh Triplett <josh@joshtriplett.org>
kernel/events/core.c