diff options
author | Sergei Poselenov <sposelenov@emcraft.com> | 2008-11-04 13:51:18 +0100 |
---|---|---|
committer | Wolfgang Denk <wd@denx.de> | 2009-01-24 00:23:09 +0100 |
commit | 3feb647f3fd0881382c7a29f4cf280b66473ae0a (patch) | |
tree | 98c94301b02b76944dd2191ab2f32efdc86da3a9 /include/configs/microblaze-generic.h | |
parent | 6dadc9195ad642cc662632f4d92f92d3d71e8bf2 (diff) | |
download | u-boot-imx-3feb647f3fd0881382c7a29f4cf280b66473ae0a.zip u-boot-imx-3feb647f3fd0881382c7a29f4cf280b66473ae0a.tar.gz u-boot-imx-3feb647f3fd0881382c7a29f4cf280b66473ae0a.tar.bz2 |
Add a do_div() wrapper macro, lldiv().
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>
Diffstat (limited to 'include/configs/microblaze-generic.h')
0 files changed, 0 insertions, 0 deletions