"David S. Miller" wrote:
>
> 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.
how to do this in foo.S code?
-- Jeff Garzik | Andre the Giant has a posse. Building 1024 | MandrakeSoft | - 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 : Fri Jun 15 2001 - 21:00:17 EST