[PATCH] m68k: sys_ptrace cleanup
commit69f447cffb911bb2d9737fa905f6d983ec2aa5d3
authorRoman Zippel <zippel@linux-m68k.org>
Sat, 3 Sep 2005 22:57:08 +0000 (3 15:57 -0700)
committerLinus Torvalds <torvalds@evo.osdl.org>
Mon, 5 Sep 2005 07:06:19 +0000 (5 00:06 -0700)
treeee1f932ab2ffb6ff923ef20c708787875f3862bb
parentb3319f50acbe3a26c258cdd899b9baa2e5e94efc
[PATCH] m68k: sys_ptrace cleanup

- create helper function singlestep_disable()
- move variable definitions to the top of the function
- use "out_eio" label as common error destination
- don't clear failure value for PTRACE_SETREGS/PTRACE_GETREGS

Signed-off-by: Roman Zippel <zippel@linux-m68k.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
arch/m68k/kernel/ptrace.c