mm-memory_hotplug-use-__pfn_to_section-instead-of-open-coding.patch removed from -mm tree
The patch titled
Subject: mm/memory_hotplug.c: use __pfn_to_section() instead of open-coding
has been removed from the -mm tree. Its filename was
mm-memory_hotplug-use-__pfn_to_section-instead-of-open-coding.patch
This patch was dropped because it was merged into mainline or a subsystem tree
------------------------------------------------------
From: chenqiwu <[email protected]>
Subject: mm/memory_hotplug.c: use __pfn_to_section() instead of open-coding
Use __pfn_to_section() API instead of open-coding for better code readability.
Signed-off-by chenqiwu <[email protected]>
Signed-off-by Andrew Morton <[email protected]>
---
mm/memory_hotplug.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
mm/memory_hotplug.c renamed from mm/memory_hotplug.c~mm-memory_hotplug-use-__pfn_to_section-instead-of-open-coding +1 -1
@@ -495,7 +495,7 @@ static void __remove_section(unsigned lounsigned long map_offset, struct vmem_altmap *altmap) { - struct mem_section *ms = __nr_to_section(pfn_to_section_nr(pfn)); + struct mem_section *ms = __pfn_to_section(pfn);if (WARN_ON_ONCE (!valid_section (ms)))return ;
_
Patches currently in -mm which might be from [email protected] are