Re: undefined references to __udivdi3 on powerpc

Olaf Hering
2008-02-28T16:45:08Z

On Thu, Feb 28, Segher Boessenkool wrote:

>> While debugging __divdi3 calls in drivers/crypto/hifn_795x.c (due to the
>> ndelay() delay call with a s64), I found even more breakage of that
>> sort. This is after a allnoconfig with ARCH=powerpc in 2.6.25-rc3,
>> plus CONFIG_MODULES=y and CONFIG_CRYPTO_DEV_HIFN_795X=y:
>
> I cannot reproduce this, but my tree has
>
> time: prevent the loop in timespec_add_ns() from being optimised away
>
> which is in -mm now. Could you try that patch?

Yes, this patch fixes it.
Thanks.