summaryrefslogtreecommitdiffstats
path: root/drivers/crypto/caam/jr.c
diff options
context:
space:
mode:
authorJussi Kivilinna <jussi.kivilinna@mbnet.fi>2012-07-30 09:42:36 +0200
committerHerbert Xu <herbert@gondor.apana.org.au>2012-07-30 09:50:54 +0200
commit76f16f83ee520d6c10356b0f6ff592441a6f08bd (patch)
tree008f57adb70850ca0a019acc3233c1ee11d993fe /drivers/crypto/caam/jr.c
parentMerge git://git.kernel.org/pub/scm/linux/kernel/git/herbert/crypto-2.6 (diff)
downloadlinux-76f16f83ee520d6c10356b0f6ff592441a6f08bd.tar.xz
linux-76f16f83ee520d6c10356b0f6ff592441a6f08bd.zip
crypto: hifn_795x - fix 64bit division and undefined __divdi3 on 32bit archs
Commit feb7b7ab928afa97a79a9c424e4e0691f49d63be changed NSEC_PER_SEC to 64-bit constant, which causes "DIV_ROUND_UP(NSEC_PER_SEC, dev->pk_clk_freq)" to generate __divdi3 call on 32-bit archs. Fix this by changing DIV_ROUND_UP to DIV_ROUND_UP_ULL. Signed-off-by: Jussi Kivilinna <jussi.kivilinna@mbnet.fi> Acked-by: Randy Dunlap <rdunlap@xenotime.net> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'drivers/crypto/caam/jr.c')
0 files changed, 0 insertions, 0 deletions