[PATCH] Make UML use ptrace-abi.h
authorJeff Dike <jdike@addtoit.com>
Tue, 26 Sep 2006 06:33:10 +0000 (23:33 -0700)
committerLinus Torvalds <torvalds@g5.osdl.org>
Tue, 26 Sep 2006 15:49:10 +0000 (08:49 -0700)
commite8df8c3304cfc7d68e9a6a7b6df6c64783cd6991
tree19430fa49f774ebeaa7cf8d5d40c58600ad79bf5
parent70e0eb8ef143f3729065c504177413ffe165af22
[PATCH] Make UML use ptrace-abi.h

Include the host architecture's ptrace-abi.h instead of ptrace.h.

There was some cpp mangling of names around the ptrace.h include to avoid
symbol clashes between UML and the host architecture.  Most of these can go
away.  The exception is struct pt_regs, which is convenient to have in
userspace, but must be renamed in order that UML can define its own.

ptrace-x86_64.h needed to have some now-obsolete cpp cruft and a declaration
removed.

Signed-off-by: Jeff Dike <jdike@addtoit.com>
Cc: David Woodhouse <dwmw2@infradead.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
include/asm-um/ptrace-generic.h
include/asm-um/ptrace-x86_64.h