]> git.baikalelectronics.ru Git - kernel.git/commit
[PATCH] m68k: sys_ptrace cleanup
authorRoman Zippel <zippel@linux-m68k.org>
Sat, 3 Sep 2005 22:57:08 +0000 (15:57 -0700)
committerLinus Torvalds <torvalds@evo.osdl.org>
Mon, 5 Sep 2005 07:06:19 +0000 (00:06 -0700)
commitf03db26a85ea94ab080b94e87a8abb39a21e50c0
treeee1f932ab2ffb6ff923ef20c708787875f3862bb
parent2e5f066430fb37b805a0c8831a83aa179c402bbe
[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