The patch titled
     early_pfn_to_nid needs to be __meminit
has been added to the -mm tree.  Its filename is
     early_pfn_to_nid-needs-to-be-__meminit.patch

*** Remember to use Documentation/SubmitChecklist when testing your code ***

See http://www.zip.com.au/~akpm/linux/patches/stuff/added-to-mm.txt to find
out what to do about this

------------------------------------------------------
Subject: early_pfn_to_nid needs to be __meminit
From: Stephen Rothwell <[EMAIL PROTECTED]>

since it is referenced by memmap_init_zone (which is __meminit) via the
early_pfn_in_nid macro when CONFIG_NODES_SPAN_OTHER_NODES is set (which
basically means PowerPC 64).

This removes a section mismatch warning in those circumstances.

Signed-off-by: Stephen Rothwell <[EMAIL PROTECTED]>
Cc: Yasunori Goto <[EMAIL PROTECTED]>
Signed-off-by: Andrew Morton <[EMAIL PROTECTED]>
---

 mm/page_alloc.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff -puN mm/page_alloc.c~early_pfn_to_nid-needs-to-be-__meminit mm/page_alloc.c
--- a/mm/page_alloc.c~early_pfn_to_nid-needs-to-be-__meminit
+++ a/mm/page_alloc.c
@@ -2284,7 +2284,7 @@ static int __meminit next_active_region_
  * was used and there are no special requirements, this is a convenient
  * alternative
  */
-int __init early_pfn_to_nid(unsigned long pfn)
+int __meminit early_pfn_to_nid(unsigned long pfn)
 {
        int i;
 
_

Patches currently in -mm which might be from [EMAIL PROTECTED] are

origin.patch
declare-compat_sys_utimensat.patch
early_pfn_to_nid-needs-to-be-__meminit.patch

-
To unsubscribe from this list: send the line "unsubscribe mm-commits" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to