From a5f833f3c1961488733bf645b011b6350ee5c7be Mon Sep 17 00:00:00 2001 From: Christoph Hellwig Date: Tue, 16 Oct 2007 01:26:34 -0700 Subject: 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 Cc: Richard Henderson Cc: Ivan Kokshaysky Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- arch/alpha/kernel/entry.S | 9 --------- 1 file changed, 9 deletions(-) (limited to 'arch/alpha/kernel/entry.S') diff --git a/arch/alpha/kernel/entry.S b/arch/alpha/kernel/entry.S index debc8f03886c..5fc61e281ac7 100644 --- a/arch/alpha/kernel/entry.S +++ b/arch/alpha/kernel/entry.S @@ -916,15 +916,6 @@ sys_pipe: ret .end sys_pipe - .align 4 - .globl sys_ptrace - .ent sys_ptrace -sys_ptrace: - .prologue 0 - mov $sp, $20 - jmp $31, do_sys_ptrace -.end sys_ptrace - .align 4 .globl sys_execve .ent sys_execve -- cgit v1.2.2