Re: Unresolved symbol do_softirq in 2.4.6-pre3

From: Jeff Chua (jeffchua@silk.corp.fedex.com)
Date: Mon Jun 18 2001 - 10:15:07 EST


On Mon, 18 Jun 2001, Mohammad A. Haque wrote:

> On Mon, 18 Jun 2001, Anuradha Ratnaweera wrote:
>
> > I started running 2.4.6-pre3 using the same configuration file as 2.4.5.
> > Diff shows no effective differences between two config files.
> >
> > depmod complains unresolved symbols (do_softirq) in ppp_generic, ppp_async
> > and sunrpc.
> >
>
> Please check the list archives. A possible solution was posted by Keith
> owens
> <http://marc.theaimsgroup.com/?l=linux-kernel&m=99245070328459&w=2>.

Try this ...

Jeff.

--- include/asm-i386/softirq.h Thu Jun 14 17:10:34 2001
+++ include/asm-i386/softirq.h.new Thu Jun 14 17:17:15 2001
@@ -36,13 +36,13 @@
                                                                         \
                         ".section .text.lock,\"ax\";" \
                         "2: pushl %%eax; pushl %%ecx; pushl %%edx;" \
- "call do_softirq;" \
+ "call %c1;" \
                         "popl %%edx; popl %%ecx; popl %%eax;" \
                         "jmp 1b;" \
                         ".previous;" \
                                                                         \
                 : /* no output */ \
- : "r" (ptr) \
+ : "r" (ptr), "i" (do_softirq) \
                 /* no registers clobbered */ ); \
 } while (0)

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



This archive was generated by hypermail 2b29 : Sat Jun 23 2001 - 21:00:21 EST