[PATCH 0/2] lib/nodemask: inline wrappers around bitmap

From: Yury Norov
Date: Sat Jul 23 2022 - 17:45:48 EST


On top of git@xxxxxxxxxx:/norov/linux.git bitmap-for-next.

There are just 2 functions in nodemask.c, both are thin wrappers around
bitmap API. 1st patch of this series drops dependency on <asm/machdep.h
for powerpc, which prevents from inlining those nodemask functions, and
2nd patch inlines them and drops nodemask.c.

Yury Norov (2):
powerpc: drop dependency on <asm/machdep.h> in archrandom.h
lib/nodemask: inline next_node_in() and node_random()

MAINTAINERS | 1 -
arch/powerpc/include/asm/archrandom.h | 9 +-------
arch/powerpc/kernel/setup-common.c | 11 ++++++++++
include/linux/nodemask.h | 27 +++++++++++++++++++-----
lib/Makefile | 2 +-
lib/nodemask.c | 30 ---------------------------
6 files changed, 35 insertions(+), 45 deletions(-)
delete mode 100644 lib/nodemask.c

--
2.34.1