diff options
author | Roland McGrath <roland@redhat.com> | 2008-03-19 19:24:59 -0700 |
---|---|---|
committer | Roland McGrath <roland@redhat.com> | 2008-07-16 18:02:33 -0700 |
commit | 98abed02007b19bbfd68b6d06a5485afc3eeb01b (patch) | |
tree | 3f0091b409592d74d56bb53847566fb32aaa0bfa /kernel/ptrace.c | |
parent | 33af79d12e0fa25545d49e86afc67ea8ad5f2f40 (diff) | |
download | kernel_samsung_tuna-98abed02007b19bbfd68b6d06a5485afc3eeb01b.zip kernel_samsung_tuna-98abed02007b19bbfd68b6d06a5485afc3eeb01b.tar.gz kernel_samsung_tuna-98abed02007b19bbfd68b6d06a5485afc3eeb01b.tar.bz2 |
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 'kernel/ptrace.c')
0 files changed, 0 insertions, 0 deletions