Skip to contentSkip to conversation

mm-page_allocc-use-__paginginit-instead-of-__init.patch removed from -mm tree

merged [email protected] 1 participant 1 message Sep 12, 2013

Subsystems (2)
lore
Share & tools
lore

[email protected]

author maintainer
#0 lore raw

Subject: [merged] mm-page_allocc-use-__paginginit-instead-of-__init.patch removed from -mm tree
To: [email protected],[email protected]
From: [email protected]
Date: Thu, 12 Sep 2013 12:42:35 -0700

The patch titled
Subject: mm/page_alloc.c: use '__paginginit' instead of '__init'
has been removed from the -mm tree. Its filename was
mm-page_allocc-use-__paginginit-instead-of-__init.patch

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

------------------------------------------------------
From: Chen Gang <[email protected]>
Subject: mm/page_alloc.c: use '__paginginit' instead of '__init'

set_pageblock_order() may be called when memory hotplug, so need use '__paginginit' instead of '__init'.

The related warning:

The function __meminit .free_area_init_node() references a function __init .set_pageblock_order().
If .set_pageblock_order is only used by .free_area_init_node then annotate .set_pageblock_order with a matching annotation.

---

 mm/page_alloc.c |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
mm/page_alloc.c renamed from mm/page_alloc.c~mm-page_allocc-use-__paginginit-instead-of-__init +2 -2
diff -puN mm/page_alloc.c~mm-page_allocc-use-__paginginit-instead-of-__init mm/page_alloc.c
@@ -4586,7 +4586,7 @@ static inline void setup_usemap(struct p
 #ifdef CONFIG_HUGETLB_PAGE_SIZE_VARIABLE
 
 /* Initialise the number of pages represented by NR_PAGEBLOCK_BITS */
-void __init set_pageblock_order(void)
+void __paginginit set_pageblock_order(void)
 {
 	unsigned int order;
 
@@ -4614,7 +4614,7 @@ void __init set_pageblock_order(void)
  * include/linux/pageblock-flags.h for the values of pageblock_order based on
  * the kernel config
  */
-void __init set_pageblock_order(void)
+void __paginginit set_pageblock_order(void)
 {
 }
 

_

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

origin.patch
sh64-kernel-use-usp-instead-of-fn.patch sh64-kernel-remove-useless-variable-regs.patch include-linux-interrupth-add-dummy-irq_set_irq_wake-for-generic_hardirqs.patch h8300-kernel-timer-timer8c-add-missing-semicolon.patch mm-kconfig-add-mmu-dependency-for-migration.patch