summaryrefslogtreecommitdiffstats
path: root/kernel/ptrace.c
diff options
context:
space:
mode:
authorRoland McGrath <roland@redhat.com>2008-03-20 03:24:59 +0100
committerRoland McGrath <roland@redhat.com>2008-07-17 03:02:33 +0200
commit98abed02007b19bbfd68b6d06a5485afc3eeb01b (patch)
tree3f0091b409592d74d56bb53847566fb32aaa0bfa /kernel/ptrace.c
parentscsi_dh: Verify "dev" is a sdev before accessing it. (diff)
downloadlinux-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