lib: bitmap: fold nbits into region struct
authorPaul Gortmaker <paul.gortmaker@windriver.com>
Sun, 21 Feb 2021 08:08:23 +0000 (03:08 -0500)
committerPaul E. McKenney <paulmck@kernel.org>
Mon, 8 Mar 2021 22:16:58 +0000 (14:16 -0800)
commit9d7a3366b7028ae8dd16a0d7585cbf11b03b42a0
tree3cf6c89145475a873d2f53269bcc4b2f11380924
parent97330db3af9a41302d1ccb0f495fcb5b5da2cc44
lib: bitmap: fold nbits into region struct

This will reduce parameter passing and enable using nbits as part
of future dynamic region parameter parsing.

Cc: Yury Norov <yury.norov@gmail.com>
Cc: Rasmus Villemoes <linux@rasmusvillemoes.dk>
Cc: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Suggested-by: Yury Norov <yury.norov@gmail.com>
Acked-by: Yury Norov <yury.norov@gmail.com>
Reviewed-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
Signed-off-by: Paul E. McKenney <paulmck@kernel.org>
lib/bitmap.c