public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Keith Owens <kaos@ocs.com.au>
To: whitney@math.berkeley.edu
Cc: tomlins@cam.org, tlan@stud.ntnu.no, linux-kernel@vger.kernel.org,
	mingo@redhat.com, torvalds@transmeta.com
Subject: Re: missing symbol do_softirq in net moduels for pre-2
Date: Sun, 10 Jun 2001 04:28:15 +1000	[thread overview]
Message-ID: <17844.992111295@ocs4.ocs-net> (raw)
In-Reply-To: Your message of "Sat, 09 Jun 2001 11:13:46 MST." <200106091813.f59IDkX00991@adsl-209-76-109-63.dsl.snfc21.pacbell.net>

On Sat, 9 Jun 2001 11:13:46 -0700, 
Wayne Whitney <whitney@math.berkeley.edu> wrote:
>I have verified that the versioning of the do_softirq symbol above is
>the source of the problems in 2.4.6-pre2

Resend, the first patch never appeared.  The problem is the call to
do_softirq inside an asm string where cpp cannot convert it.  The
correct fix is toe xpose do_softirq so cpp can convert it then map to a
string and concatenate with teh asm string.  But that requires ugly
helper macros, a cleaner fix is:

Against 2.4.6-pre2.  Note: you must run make mrproper after applying
this patch.

Index: 6-pre2.1/kernel/ksyms.c
--- 6-pre2.1/kernel/ksyms.c Sat, 09 Jun 2001 11:25:53 +1000 kaos (linux-2.4/j/46_ksyms.c 1.1.2.2.1.1.2.1.1.8.2.1.2.1 644)
+++ 6-pre2.1(w)/kernel/ksyms.c Sun, 10 Jun 2001 03:36:12 +1000 kaos (linux-2.4/j/46_ksyms.c 1.1.2.2.1.1.2.1.1.8.2.1.2.1 644)
@@ -536,7 +536,7 @@ EXPORT_SYMBOL(remove_bh);
 EXPORT_SYMBOL(tasklet_init);
 EXPORT_SYMBOL(tasklet_kill);
 EXPORT_SYMBOL(__run_task_queue);
-EXPORT_SYMBOL(do_softirq);
+EXPORT_SYMBOL_NOVERS(do_softirq);
 EXPORT_SYMBOL(tasklet_schedule);
 EXPORT_SYMBOL(tasklet_hi_schedule);
 


  reply	other threads:[~2001-06-09 18:28 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-06-09 15:07 missing symbol do_softirq in net moduels for pre-2 Ed Tomlinson
2001-06-09 16:17 ` Keith Owens
2001-06-09 16:56   ` Thomas Langås
2001-06-09 17:04     ` Keith Owens
2001-06-09 17:20       ` Ed Tomlinson
2001-06-09 18:13         ` Wayne Whitney
2001-06-09 18:28           ` Keith Owens [this message]
2001-06-09 16:56   ` Wayne Whitney
2001-06-09 17:04     ` Ed Tomlinson

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=17844.992111295@ocs4.ocs-net \
    --to=kaos@ocs.com.au \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mingo@redhat.com \
    --cc=tlan@stud.ntnu.no \
    --cc=tomlins@cam.org \
    --cc=torvalds@transmeta.com \
    --cc=whitney@math.berkeley.edu \
    /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