Re: [2.5] Update sk98lin driver

From: Martin Schlemmer (azarah@gentoo.org)
Date: Sun May 04 2003 - 14:35:18 EST


On Sun, 2003-05-04 at 20:57, Matti Aarnio wrote:

> > Now the problem is that if I try to load it, I get this:
> > -----------------------------------------
> > sk98lin: Unknown symbol __udivdi3
> > -----------------------------------------
> > Meaning it linked with libgcc_s.so. Any ideas why ?
>
> It wanted to. That is signature of 64 bit value
> being divided by an abitrary non-power-of-two divider.
>
> If there is a non-fast-path use for the division,
> using do_div() macro. Originally for lib/vsprintf.c
> from which you can deduce the usage.
>
> If it is in fast-path, then the code needs serious
> re-thought.
>

Bleh, never easy hey =)

And I am guessing just adding a __udivdi3 implementation like
some of the other archs is out of the question ?

-- 

Martin Schlemmer


- 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 : Wed May 07 2003 - 22:00:20 EST