mirror of
https://source.denx.de/u-boot/u-boot.git
synced 2026-06-05 11:16:57 +03:00
Add a do_div() wrapper, lldiv(). The new inline function doesn't modify the dividend and returns the result of division, so it is useful in complex expressions, i.e. "return(a/b)" -> "return(lldiv(a,b))" Signed-off-by: Sergei Poselenov <sposelenov@emcraft.com>
1.2 KiB
1.2 KiB