summaryrefslogtreecommitdiff
path: root/board/uc100
diff options
context:
space:
mode:
authorSergei Poselenov <sposelenov@emcraft.com>2008-11-04 13:51:18 +0100
committerWolfgang Denk <wd@denx.de>2009-01-24 00:23:09 +0100
commit3feb647f3fd0881382c7a29f4cf280b66473ae0a (patch)
tree98c94301b02b76944dd2191ab2f32efdc86da3a9 /board/uc100
parent6dadc9195ad642cc662632f4d92f92d3d71e8bf2 (diff)
downloadu-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 'board/uc100')
0 files changed, 0 insertions, 0 deletions