lkml.org 
[lkml]   [2022]   [Jul]   [23]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Subject[PATCH 0/2] lib/nodemask: inline wrappers around bitmap
Date
On top of git@github.com:/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

\
 
 \ /
  Last update: 2022-07-23 23:46    [W:0.107 / U:1.872 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site