aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/drivers/i2c/algos/i2c-algo-bit.c
diff options
context:
space:
mode:
authorBecky Bruce <beckyb@kernel.crashing.org>2011-10-12 16:17:02 -0500
committerKumar Gala <galak@kernel.crashing.org>2011-10-12 23:39:10 -0500
commit4559424a0c34f0cb22fa31bc24015a06dc064b32 (patch)
tree093b1d3d2fafcd9e9d7b6226cf90c855f93f79bb /drivers/i2c/algos/i2c-algo-bit.c
parentpowerpc/85xx: Adding DCSR node to dtsi device trees (diff)
downloadwireguard-linux-4559424a0c34f0cb22fa31bc24015a06dc064b32.tar.xz
wireguard-linux-4559424a0c34f0cb22fa31bc24015a06dc064b32.zip
powerpc/fsl-booke: Fix settlbcam for 64-bit
Currently, it does a cntlzd on the size and then subtracts it from 21.... this doesn't take into account the varying size of a "long". Just use __ilog instead (and subtract the 10 we have to subtract to get to the tsize encoding). Also correct the comment about page sizes supported. Signed-off-by: Becky Bruce <beckyb@kernel.crashing.org> Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
Diffstat (limited to 'drivers/i2c/algos/i2c-algo-bit.c')
0 files changed, 0 insertions, 0 deletions