bitmap: Make bitmap_remap() and bitmap_bitremap() available to users
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Mon, 10 May 2021 19:46:29 +0000 (22:46 +0300)
committerBartosz Golaszewski <bgolaszewski@baylibre.com>
Wed, 12 May 2021 11:52:21 +0000 (13:52 +0200)
commitcde3d0f81e67f21f1f61fd895255f2e3b86f5bed
treefece3537990568d628d38d72938cad69e2201027
parentf2e03ca3e839e2a2d80c4c764ab07b293ad5a576
bitmap: Make bitmap_remap() and bitmap_bitremap() available to users

Currently the bitmap_remap() and bitmap_bitremap() are available
only for CONFIG_NUMA=y case, while some users may benefit out of it
and being independent to NUMA code. Make them available to users
by moving out of ifdeffery and exporting for modules.

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Tested-by: Neeli Srinivas <sneeli@xilinx.com>
Acked-by: Yury Norov <yury.norov@gmail.com>
Signed-off-by: Bartosz Golaszewski <bgolaszewski@baylibre.com>
lib/bitmap.c