diff options
author | Roland McGrath <roland@redhat.com> | 2008-03-20 03:24:59 +0100 |
---|---|---|
committer | Roland McGrath <roland@redhat.com> | 2008-07-17 03:02:33 +0200 |
commit | 98abed02007b19bbfd68b6d06a5485afc3eeb01b (patch) | |
tree | 3f0091b409592d74d56bb53847566fb32aaa0bfa /kernel/ptrace.c | |
parent | scsi_dh: Verify "dev" is a sdev before accessing it. (diff) | |
download | linux-98abed02007b19bbfd68b6d06a5485afc3eeb01b.tar.xz linux-98abed02007b19bbfd68b6d06a5485afc3eeb01b.zip |
do_wait reorganization
This breaks out the guts of do_wait into three subfunctions.
The control flow is less nonobvious without so much goto.
do_wait_thread and ptrace_do_wait contain the main work of the outer loop.
wait_consider_task contains the main work of the inner loop.
Signed-off-by: Roland McGrath <roland@redhat.com>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions