Re: [PATCH] LinuxPPS - definitive version

David Woodhouse
2007-07-24T14:45:30Z

On Tue, 2007-07-24 at 16:31 +0200, Rodolfo Giometti wrote:
> drivers/built-in.o: In function `sys_time_pps_fetch':
> (.text+0x5f05e): undefined reference to `__udivdi3'

Hm, not sure. Maybe put it back to uint32_t and then add another
uint32_t of explicit padding, or maybe just cast it to uint32_t when you
divide:

ticks += (uint32_t)to.nsec / (NSEC_PER_SEC/HZ);

--
dwmw2