alpha: convert to generic sys_ptrace
authorChristoph Hellwig <hch@lst.de>
Tue, 16 Oct 2007 08:26:34 +0000 (01:26 -0700)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Tue, 16 Oct 2007 16:43:03 +0000 (09:43 -0700)
commita5f833f3c1961488733bf645b011b6350ee5c7be
treed7a8d03a5c29d7c820d8680d51f27c4edda9556a
parentd9ff5f38727f839dacb2714154fa03e59803d7a5
alpha: convert to generic sys_ptrace

This patch converts alpha to the generic sys_ptrace.  We use
force_successful_syscall_return to avoid having to pass the pt_regs pointer
down to the function.  I think the removal of the assemly stub is correct,
but I could only compile-test this patch, so please give it a spin before
commiting :)

Signed-off-by: Christoph Hellwig <hch@lst.de>
Cc: Richard Henderson <rth@twiddle.net>
Cc: Ivan Kokshaysky <ink@jurassic.park.msu.ru>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
arch/alpha/kernel/entry.S
arch/alpha/kernel/ptrace.c
include/asm-alpha/ptrace.h