Re: [patch] 2.4.6-pre3 unresolved symbol do_softirq

David S. Miller
2001-06-13T12:13:43Z

Keith Owens writes:
> do_softirq is called from asm code which does not get preprocessed.
> It needs to be exported with no version.

It can get preprocessed if you know how. Simply use the "i" asm
constraint for an extra argument, and use the symbol there. For
example:

__asm__("%0" : : "i" (my_versioned_symbol));

It works and we've been doing it on sparc for ages.

Later,
David S. Miller
davem@redhat.com