diff options
author | Christoph Hellwig <hch@lst.de> | 2007-10-16 01:26:34 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-10-16 09:43:03 -0700 |
commit | a5f833f3c1961488733bf645b011b6350ee5c7be (patch) | |
tree | d7a8d03a5c29d7c820d8680d51f27c4edda9556a /include | |
parent | d9ff5f38727f839dacb2714154fa03e59803d7a5 (diff) | |
download | op-kernel-dev-a5f833f3c1961488733bf645b011b6350ee5c7be.zip op-kernel-dev-a5f833f3c1961488733bf645b011b6350ee5c7be.tar.gz |
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>
Diffstat (limited to 'include')
-rw-r--r-- | include/asm-alpha/ptrace.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/include/asm-alpha/ptrace.h b/include/asm-alpha/ptrace.h index 9933b8b..32c7a5c 100644 --- a/include/asm-alpha/ptrace.h +++ b/include/asm-alpha/ptrace.h @@ -68,8 +68,6 @@ struct switch_stack { #ifdef __KERNEL__ -#define __ARCH_SYS_PTRACE 1 - #define user_mode(regs) (((regs)->ps & 8) != 0) #define instruction_pointer(regs) ((regs)->pc) #define profile_pc(regs) instruction_pointer(regs) |