ptrace: conditionalize compat_ptrace_request
authorRoland McGrath <roland@redhat.com>
Mon, 28 Apr 2008 20:57:19 +0000 (13:57 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Mon, 28 Apr 2008 21:14:36 +0000 (14:14 -0700)
commit9d04d9280c4bbf6950b70b705bc4ace41de65615
tree594f4d9faf9d830fc7b1a7589e4a61f16b1fdf58
parente97e386b126c2d60b8da61ce1e4964b41b3d1514
ptrace: conditionalize compat_ptrace_request

My recent additions to compat_ptrace_request made it mandatory
for CONFIG_COMPAT arch's to define copy_siginfo_from_user32.
This broke some builds, though they all really should get cleaned
up in that way.

Since all the arch's that actually call compat_ptrace_request have
now been cleaned up to use the generic compat_sys_ptrace, we can
avoid the build problems on the crufty arch's by changing the
conditionals on the definition.

Signed-off-by: Roland McGrath <roland@redhat.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
kernel/ptrace.c