From: Andrew Morton Make the pid.h macros look less revolting in an 80-col window. Signed-off-by: Andrew Morton --- include/linux/pid.h | 30 +++++++++++++++--------------- 1 file changed, 15 insertions(+), 15 deletions(-) diff -puN include/linux/pid.h~pidh-cleanup include/linux/pid.h --- a/include/linux/pid.h~pidh-cleanup +++ a/include/linux/pid.h @@ -105,28 +105,28 @@ static inline pid_t pid_nr(struct pid *p } -#define do_each_task_pid(who, type, task) \ - do { \ - struct hlist_node *pos___; \ - struct pid *pid___ = find_pid(who); \ - if (pid___ != NULL) \ - hlist_for_each_entry_rcu((task), pos___, \ +#define do_each_task_pid(who, type, task) \ + do { \ + struct hlist_node *pos___; \ + struct pid *pid___ = find_pid(who); \ + if (pid___ != NULL) \ + hlist_for_each_entry_rcu((task), pos___, \ &pid___->tasks[type], pids[type].node) { -#define while_each_task_pid(who, type, task) \ - } \ +#define while_each_task_pid(who, type, task) \ + } \ } while (0) -#define do_each_pid_task(pid, type, task) \ - do { \ - struct hlist_node *pos___; \ - if (pid != NULL) \ - hlist_for_each_entry_rcu((task), pos___, \ +#define do_each_pid_task(pid, type, task) \ + do { \ + struct hlist_node *pos___; \ + if (pid != NULL) \ + hlist_for_each_entry_rcu((task), pos___, \ &pid->tasks[type], pids[type].node) { -#define while_each_pid_task(pid, type, task) \ - } \ +#define while_each_pid_task(pid, type, task) \ + } \ } while (0) #endif /* _LINUX_PID_H */ _