summaryrefslogtreecommitdiffstats
path: root/CREDITS
diff options
context:
space:
mode:
authorRasmus Villemoes <linux@rasmusvillemoes.dk>2015-02-13 23:36:16 +0100
committerLinus Torvalds <torvalds@linux-foundation.org>2015-02-14 06:21:35 +0100
commit6d874eca6595629258a5d9af237c5ae53a9544e1 (patch)
tree444d682c304f39d2071ad1445ec0582abf5e46a6 /CREDITS
parentlib: bitmap: change bitmap_shift_left to take unsigned parameters (diff)
downloadlinux-6d874eca6595629258a5d9af237c5ae53a9544e1.tar.xz
linux-6d874eca6595629258a5d9af237c5ae53a9544e1.zip
lib: bitmap: eliminate branch in __bitmap_shift_left
We can shift the bits from lower and upper into place before assembling dst[k + off]; moving the shift of lower into the branch where we already know that rem is non-zero allows us to remove a conditional. Signed-off-by: Rasmus Villemoes <linux@rasmusvillemoes.dk> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'CREDITS')
0 files changed, 0 insertions, 0 deletions