mirror of
https://github.com/MiSTer-devel/u-boot_MiSTer.git
synced 2026-04-19 03:05:37 +00: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