]> git.dujemihanovic.xyz Git - u-boot.git/commit
cmd_dhry.c: Use lldiv for vax_mips calculation as well
authorTom Rini <trini@konsulko.com>
Thu, 17 Mar 2016 14:14:25 +0000 (10:14 -0400)
committerTom Rini <trini@konsulko.com>
Thu, 17 Mar 2016 14:14:25 +0000 (10:14 -0400)
commitf23baa572f96e1e13d7f1a3c8addb61b5d0dbd29
tree18eecc509ae480d39478ff071de59d6694c1894e
parent82ceba2ca2487c4967419cf7053e1301709219e5
cmd_dhry.c: Use lldiv for vax_mips calculation as well

Since dhry_per_sec is a u64 we must also use lldiv here when working
with it.  Otherwise:
../lib/dhry/cmd_dhry.c:(.text.do_dhry+0xd8): undefined reference to `__udivdi3'

On some platforms.

Signed-off-by: Tom Rini <trini@konsulko.com>
lib/dhry/cmd_dhry.c