[PATCH] uml: ptrace interface cleanup
From: Bodo Stroesser, mostly: Gets rid of all inclusions of {sys,linux,asm}/ptrace.h since their effects and contents are somewhat distro- and architecture-dependent. arch/um/sysdep/ptrace_user is now responsible for providing the system's ptrace interfaces to UML. As such, it is a purely userspace header, and this exposed a couple of places where kernel files were including it. One of them needed MAX_REG_OFFSET, so this was provided by adding a new generated header, user-constants.h, which includes this. Also, changed PTRACE_{PEEK,POKE}_USER to _USR since that seems to be more standard. Signed-off-by:Jeff Dike <jdike@addtoit.com> Signed-off-by:
Andrew Morton <akpm@osdl.org> Signed-off-by:
Linus Torvalds <torvalds@osdl.org>
Showing
Please register or sign in to comment