pid: fix the do_each_pid_task() macro
authorSteven Rostedt <srostedt@redhat.com>
Thu, 4 Dec 2008 05:26:39 +0000 (00:26 -0500)
committerIngo Molnar <mingo@elte.hu>
Thu, 4 Dec 2008 08:09:37 +0000 (09:09 +0100)
commit5ef6476190d24419a9a537baa0b5641845136989
tree668d3e02acf97745d2a2e701e4b161cbd6f890bf
parent804a685162a7080386714166776f57255a75238e
pid: fix the do_each_pid_task() macro

Impact: macro side-effects fix

This patch adds parenthesis around 'pid' in the do_each_pid_task
macro to allow callers to pass in more complex parameters.

e.g.  do_each_pid_task(*pid, type, task)

Signed-off-by: Steven Rostedt <srostedt@redhat.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
include/linux/pid.h