[PATCH v4 0/3] mm: sparse: remove __section_nr() function

From: Ohhoon Kwon
Date: Wed Jul 07 2021 - 11:05:46 EST


This series contains cleanups to remove __section_nr().

In contrast to v1, there were some modifications on commit messages
In contrast to v2, [PATCH 1/3] has been updated to pass section_nr as
well as mem_section, as Michal suggested.

Also, I appended acked-by's and reviewed-by's from the initial mailing
list for convenience.

Ohhoon Kwon (3):
mm: sparse: pass section_nr to section_mark_present
mm: sparse: pass section_nr to find_memory_block
mm: sparse: remove __section_nr() function

.../platforms/pseries/hotplug-memory.c | 4 +--
drivers/base/memory.c | 4 +--
include/linux/memory.h | 2 +-
include/linux/mmzone.h | 1 -
mm/sparse.c | 35 +++----------------
5 files changed, 8 insertions(+), 38 deletions(-)

--
2.17.1