Re: missing symbol do_softirq in net moduels for pre-2

Keith Owens (kaos@ocs.com.au)
Sun, 10 Jun 2001 04:28:15 +1000


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);

-
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/