Re: unresolved symbol: __udivdi3

Andreas Dilger
2002-04-19T21:40:10Z

On Apr 19, 2002 14:03 -0700, Ben Greear wrote:
> I would like to be able to devide 64bit numbers in a kernel module,
> but I get unresolved symbols when trying to insmod.
>
> Does anyone have any ideas how to get around this little issue
> (without the obvious of casting the hell out of all my __u64s
> when doing division and throwing away precision.)?

When you talk about precision, it makes me think you want to have
a floating-point divide. In fact, no floating-point math can be
done in the kernel.

Cheers, Andreas
--
Andreas Dilger