summaryrefslogtreecommitdiffstats
path: root/lib/debug_locks.c
diff options
context:
space:
mode:
authorYury Norov <yury.norov@gmail.com>2020-01-31 07:16:43 +0100
committerLinus Torvalds <torvalds@linux-foundation.org>2020-01-31 19:30:40 +0100
commitb78c57135d470cfc5b461f2abde4eaeb07d100fb (patch)
treee71992e9e5fe819f771b7c370590d106c233c425 /lib/debug_locks.c
parentuapi: rename ext2_swab() to swab() and share globally in swab.h (diff)
downloadlinux-b78c57135d470cfc5b461f2abde4eaeb07d100fb.tar.xz
linux-b78c57135d470cfc5b461f2abde4eaeb07d100fb.zip
lib/find_bit.c: join _find_next_bit{_le}
_find_next_bit and _find_next_bit_le are very similar functions. It's possible to join them by adding 1 parameter and a couple of simple checks. It's simplify maintenance and make possible to shrink the size of .text by un-inlining the unified function (in the following patch). Link: http://lkml.kernel.org/r/20200103202846.21616-2-yury.norov@gmail.com Signed-off-by: Yury Norov <yury.norov@gmail.com> Cc: Allison Randal <allison@lohutok.net> Cc: Joe Perches <joe@perches.com> Cc: Thomas Gleixner <tglx@linutronix.de> Cc: William Breathitt Gray <vilhelm.gray@gmail.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'lib/debug_locks.c')
0 files changed, 0 insertions, 0 deletions