[PATCH 0/2] lib: compile generic bitrev based on GENERIC_BITREVERSE

Yury Norov posted 2 patches 1 month, 2 weeks ago
MAINTAINERS  | 2 ++
lib/Makefile | 2 +-
lib/bitrev.c | 3 ---
3 files changed, 3 insertions(+), 4 deletions(-)
[PATCH 0/2] lib: compile generic bitrev based on GENERIC_BITREVERSE
Posted by Yury Norov 1 month, 2 weeks ago
The bitrev.c is compiled based on CONFIG_BITREVERSE=y, but everything
inside is protected with CONFIG_GENERIC_BITREVERSE.

Make it simpler by switching the Makefile to compile lib/bitrev.c based
on the proper config. Also, cover generic bitrev.[ch] with BITOPS entry.

Based on bitmap-for-next:

https://github.com/norov/linux/tree/bitmap-for-next

Yury Norov (2):
  lib: compile generic bitrev.c conditionally on the proper option
  MAINTAINERS: BITOPS: include bitrev.[ch]

 MAINTAINERS  | 2 ++
 lib/Makefile | 2 +-
 lib/bitrev.c | 3 ---
 3 files changed, 3 insertions(+), 4 deletions(-)

-- 
2.51.0