Skip to contentSkip to conversation

mm-bootmem_info-mark-__init-on-register_page_bootmem_info_section.patch removed from -mm tree

merged [email protected] 1 participant 1 message Sep 3, 2021

lore
Share & tools
lore

[email protected]

author tree notice Applied
#0 lore raw

The patch titled
Subject: mm/bootmem_info.c: mark __init on register_page_bootmem_info_section
has been removed from the -mm tree. Its filename was
mm-bootmem_info-mark-__init-on-register_page_bootmem_info_section.patch

This patch was dropped because it was merged into mainline or a subsystem tree

------------------------------------------------------
From: Muchun Song <[email protected]>
Subject: mm/bootmem_info.c: mark __init on register_page_bootmem_info_section

register_page_bootmem_info_section() is only called from __init functions, so mark it __init as well.

---

 mm/bootmem_info.c |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
mm/bootmem_info.c renamed from mm/bootmem_info.c~mm-bootmem_info-mark-__init-on-register_page_bootmem_info_section +2 -2
@@ -39,7 +39,7 @@ void put_page_bootmem(struct page *page)
 }
 
 #ifndef CONFIG_SPARSEMEM_VMEMMAP
-static void register_page_bootmem_info_section(unsigned long start_pfn)
+static void __init register_page_bootmem_info_section(unsigned long start_pfn)
 {
 	unsigned long mapsize, section_nr, i;
 	struct mem_section *ms;
@@ -74,7 +74,7 @@ static void register_page_bootmem_info_s
 
 }
 #else /* CONFIG_SPARSEMEM_VMEMMAP */
-static void register_page_bootmem_info_section(unsigned long start_pfn)
+static void __init register_page_bootmem_info_section(unsigned long start_pfn)
 {
 	unsigned long mapsize, section_nr, i;
 	struct mem_section *ms;

_

Patches currently in -mm which might be from [email protected] are

mm-remove-redundant-compound_head-calling.patch mm-introduce-pageflags_mask-to-replace-1ul-nr_pageflags-1.patch