mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Chris Wright <chris@wirex.com>
To: Tom Vier <tmv@comcast.net>
Cc: linux-kernel@vger.kernel.org
Subject: Re: alpha fails Re: 2.4.20 ptrace patch
Date: Tue, 18 Mar 2003 18:21:36 -0800	[thread overview]
Message-ID: <20030318182136.A25346@figure1.int.wirex.com> (raw)
In-Reply-To: <20030319014419.GA391@zero>; from tmv@comcast.net on Tue, Mar 18, 2003 at 08:44:19PM -0500

* 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

      reply	other threads:[~2003-03-19  2:11 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-03-17 18:46 James Bourne
2003-03-19  1:44 ` alpha fails " Tom Vier
2003-03-19  2:21   ` Chris Wright [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20030318182136.A25346@figure1.int.wirex.com \
    --to=chris@wirex.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=tmv@comcast.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®