lib/bitmap: split-out string-related operations to a separate files
authorYury Norov <yury.norov@gmail.com>
Sat, 7 Oct 2023 23:35:10 +0000 (16:35 -0700)
committerYury Norov <yury.norov@gmail.com>
Sun, 15 Oct 2023 03:25:22 +0000 (20:25 -0700)
commitaae06fc1b5a2e4b52f8504a1f12f9b8b98e80641
treed2678ffd34d753a73793b903db30ee74bf286953
parent7733aa893847f021c674d0d30b723d892109369d
lib/bitmap: split-out string-related operations to a separate files

lib/bitmap.c and corresponding include/linux/bitmap.h are intended to
hold functions related to operations on bitmaps, like bitmap_shift or
bitmap_set. Historically, some string-related operations like
bitmap_parse are also reside in lib/bitmap.c.

Now that the subsystem evolves, string-related bitmap operations became a
significant part of the file. Because they are quite different from the
other bitmap functions by nature, it's worth to split them to a separate
source/header files.

CC: Andrew Morton <akpm@linux-foundation.org>
CC: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
CC: Rasmus Villemoes <linux@rasmusvillemoes.dk>
Signed-off-by: Yury Norov <yury.norov@gmail.com>
MAINTAINERS
include/linux/bitmap-str.h [new file with mode: 0644]
include/linux/bitmap.h
lib/Makefile
lib/bitmap-str.c [new file with mode: 0644]
lib/bitmap.c