diff options
| author | Linus Torvalds <torvalds@ppc970.osdl.org> | 2004-09-02 19:26:43 -0700 |
|---|---|---|
| committer | Linus Torvalds <torvalds@ppc970.osdl.org> | 2004-09-02 19:26:43 -0700 |
| commit | 83d6ea2d99337beb2d9fd31767bc31f585640ad5 (patch) | |
| tree | e3b28796f55ed0712417a6b19ccf2ff36ac22a2e /include/linux | |
| parent | 5065452d7f8d71a57268a93236c47dcc34e43b74 (diff) | |
| parent | 16fb359f52d056dee08badbabe5aba93a8f7cbf2 (diff) | |
Merge bk://kernel.bkbits.net/davem/sparc-2.6
into ppc970.osdl.org:/home/torvalds/v2.6/linux
Diffstat (limited to 'include/linux')
| -rw-r--r-- | include/linux/pid.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/include/linux/pid.h b/include/linux/pid.h index 5f74c4ab0d11..5b2fcb19d2da 100644 --- a/include/linux/pid.h +++ b/include/linux/pid.h @@ -46,10 +46,10 @@ extern void switch_exec_pids(struct task_struct *leader, struct task_struct *thr do { #define while_each_task_pid(who, type, task) \ - task = pid_task((task)->pids[type].pid_list.next,\ - type); \ - prefetch((task)->pids[type].pid_list.next); \ - } while (hlist_unhashed(&(task)->pids[type].pid_chain));\ + } while (task = pid_task((task)->pids[type].pid_list.next,\ + type), \ + prefetch((task)->pids[type].pid_list.next), \ + hlist_unhashed(&(task)->pids[type].pid_chain)); \ } \ #endif /* _LINUX_PID_H */ |
