bitmap: move bitmap_*_region() functions to bitmap.h
authorYury Norov <yury.norov@gmail.com>
Mon, 25 Sep 2023 02:38:17 +0000 (19:38 -0700)
committerYury Norov <yury.norov@gmail.com>
Mon, 16 Oct 2023 23:14:45 +0000 (16:14 -0700)
commit6cb42f91aa6dfd10fd847c469caebe63b35141ff
tree70fb2efcb6df63d88aaf66955a69b2376a9b120a
parent1d4836527d4168d648010909637fb6cfe45d3fac
bitmap: move bitmap_*_region() functions to bitmap.h

Now that bitmap_*_region() functions are implemented as thin wrappers
around others, it's worth to move them to the header, as it opens room
for compile-time optimizations.

CC: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
CC: Rasmus Villemoes <linux@rasmusvillemoes.dk>
CC: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Yury Norov <yury.norov@gmail.com>
include/linux/bitmap.h
lib/bitmap.c