Skip to contentSkip to conversation

mm-move-mem_init_print_info-to-mm_initc.patch removed from -mm tree

merged mm-stable Andrew Morton 1 participant 1 message Apr 6, 2023

lore
Share & tools
lore

Andrew Morton

author tree notice Applied
#0 lore raw

The quilt patch titled
Subject: mm: move mem_init_print_info() to mm_init.c
has been removed from the -mm tree. Its filename was
mm-move-mem_init_print_info-to-mm_initc.patch

This patch was dropped because it was merged into the mm-stable branch of git://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm

------------------------------------------------------
From: "Mike Rapoport (IBM)" <[email protected]>
Subject: mm: move mem_init_print_info() to mm_init.c
Date: Tue, 21 Mar 2023 19:05:10 +0200

mem_init_print_info() is only called from mm_core_init().

Move it close to the caller and make it static.

---

 include/linux/mm.h |    1 
 mm/internal.h      |    1 
 mm/mm_init.c       |   53 +++++++++++++++++++++++++++++++++++++++++++
 mm/page_alloc.c    |   53 -------------------------------------------
 4 files changed, 54 insertions(+), 54 deletions(-)
include/linux/mm.h renamed from include/linux/mm.h~mm-move-mem_init_print_info-to-mm_initc +0 -1
@@ -2780,7 +2780,6 @@ extern unsigned long free_reserved_area(
 					int poison, const char *s);
 
 extern void adjust_managed_page_count(struct page *page, long count);
-extern void mem_init_print_info(void);
 
 extern void reserve_bootmem_region(phys_addr_t start, phys_addr_t end);
 
mm/internal.h renamed from mm/internal.h~mm-move-mem_init_print_info-to-mm_initc +1 -0
@@ -201,6 +201,7 @@ pmd_t *mm_find_pmd(struct mm_struct *mm,
 /*
  * in mm/page_alloc.c
  */
+#define K(x) ((x) << (PAGE_SHIFT-10))
 
 extern char * const zone_names[MAX_NR_ZONES];
 
mm/mm_init.c renamed from mm/mm_init.c~mm-move-mem_init_print_info-to-mm_initc +53 -0

65 lines not on this page · raw message

mm/page_alloc.c renamed from mm/page_alloc.c~mm-move-mem_init_print_info-to-mm_initc +0 -53

65 lines not on this page · raw message

_

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

arm-reword-arch_force_max_order-prompt-and-help-text.patch arm64-drop-ranges-in-definition-of-arch_force_max_order.patch arm64-reword-arch_force_max_order-prompt-and-help-text.patch arm64-reword-arch_force_max_order-prompt-and-help-text-v3.patch csky-drop-arch_force_max_order.patch ia64-dont-allow-users-to-override-arch_force_max_order.patch m68k-reword-arch_force_max_order-prompt-and-help-text.patch nios2-reword-arch_force_max_order-prompt-and-help-text.patch nios2-drop-ranges-for-definition-of-arch_force_max_order.patch powerpc-reword-arch_force_max_order-prompt-and-help-text.patch powerpc-drop-ranges-for-definition-of-arch_force_max_order.patch sh-reword-arch_force_max_order-prompt-and-help-text.patch sh-reword-arch_force_max_order-prompt-and-help-text-v3.patch sh-drop-ranges-for-definition-of-arch_force_max_order.patch sh-drop-ranges-for-definition-of-arch_force_max_order-v3.patch sparc-reword-arch_force_max_order-prompt-and-help-text.patch xtensa-reword-arch_force_max_order-prompt-and-help-text.patch mm-move-free_area_empty-to-mm-internalh.patch