public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/2] lib: compile generic bitrev based on GENERIC_BITREVERSE
@ 2026-04-27 20:52 Yury Norov
  2026-04-27 20:52 ` [PATCH 1/2] lib: compile generic bitrev.c conditionally " Yury Norov
  2026-04-27 20:52 ` [PATCH 2/2] MAINTAINERS: BITOPS: include bitrev.[ch] Yury Norov
  0 siblings, 2 replies; 3+ messages in thread
From: Yury Norov @ 2026-04-27 20:52 UTC (permalink / raw)
  To: linux-kernel, Andrew Morton, Arnd Bergmann, Jinjie Ruan,
	Rasmus Villemoes, Yury Norov
  Cc: Yury Norov

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


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2026-04-27 20:52 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-04-27 20:52 [PATCH 0/2] lib: compile generic bitrev based on GENERIC_BITREVERSE Yury Norov
2026-04-27 20:52 ` [PATCH 1/2] lib: compile generic bitrev.c conditionally " Yury Norov
2026-04-27 20:52 ` [PATCH 2/2] MAINTAINERS: BITOPS: include bitrev.[ch] Yury Norov

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox