[PATCH] alpha ptrace fix Re: Linux 2.4.21-pre6

Tom Vier
2003-03-28T01:51:44Z

Chris Wright posted this change for alpha that's needed for the ptrace fix.

--
Tom Vier <tmv@comcast.net>
DSA Key ID 0xE6CB97DA

--- linux/arch/alpha/kernel/entry.S.kmod Tue Mar 18 18:17:46 2003
+++ linux-patched/arch/alpha/kernel/entry.S Tue Mar 18 18:18:50 2003
@@ -234,8 +234,8 @@
* arch_kernel_thread(fn, arg, clone_flags)
*/
.align 3
-.globl kernel_thread
-.ent kernel_thread
+.globl arch_kernel_thread
+.ent arch_kernel_thread
arch_kernel_thread:
ldgp $29,0($27) /* we can be called from a module */
.frame $30, 4*8, $26
@@ -265,7 +265,7 @@
mov $0,$16
mov $31,$26
jsr $31,sys_exit
-.end kernel_thread
+.end arch_kernel_thread

/*
* __kernel_execve(path, argv, envp, regs)