summaryrefslogtreecommitdiffstats
path: root/crypto
diff options
context:
space:
mode:
authorGuennadi Liakhovetski <g.liakhovetski@gmx.de>2011-11-23 15:52:30 +0100
committerChris Ball <cjb@laptop.org>2012-01-12 05:58:42 +0100
commit86df174585de79a460e3515ec413ea1f5a0bcf68 (patch)
tree5ba0a10d265947426e88f3d04fc0f961473874b0 /crypto
parentmmc: core: check for zero length ioctl data (diff)
downloadlinux-86df174585de79a460e3515ec413ea1f5a0bcf68.tar.xz
linux-86df174585de79a460e3515ec413ea1f5a0bcf68.zip
mmc: sh_mmcif: simplify clock divisor calculation
Replace ilog2(__rounddown_pow_of_two(x)) with the equivalent but much simpler fls(x) - 1. Reported-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Guennadi Liakhovetski <g.liakhovetski@gmx.de> Signed-off-by: Chris Ball <cjb@laptop.org>
Diffstat (limited to 'crypto')
0 files changed, 0 insertions, 0 deletions