Messages in this thread Patch in this message | | | Date | Tue, 18 Mar 2003 18:21:36 -0800 | From | Chris Wright <> | Subject | Re: alpha fails Re: 2.4.20 ptrace patch |
| |
* Tom Vier (tmv@comcast.net) wrote: > anyone have a quick fix? > > kernel/kernel.o(.text+0x3488): In function `kernel_thread': > : undefined reference to `arch_kernel_thread' > kernel/kernel.o(.text+0x3490): In function `kernel_thread': > : undefined reference to `arch_kernel_thread' > make: *** [vmlinux] Error 1
Does this work (untested):
--- arch/alpha/kernel/entry.S.kmod Tue Mar 18 18:17:46 2003 +++ 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) -- Linux Security Modules http://lsm.immunix.org http://lsm.bkbits.net - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |