powerpc/mm: Fix section mismatch for mark_reserved_regions_for_nid
authorDavid Rientjes <rientjes@google.com>
Thu, 8 Dec 2011 12:33:29 +0000 (12:33 +0000)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>
Mon, 19 Dec 2011 03:41:16 +0000 (14:41 +1100)
commit28e86bdbc9863d3d81711db02abedbc54528099e
treefa9aadd5c2a405ccaf1aaf9893b405247236a9c8
parent2c9c6ce0199a4d252e20c531cfdc9d24e39235c0
powerpc/mm: Fix section mismatch for mark_reserved_regions_for_nid

mark_reserved_regions_for_nid() is only called from do_init_bootmem(),
which is in .init.text, so it must be in the same section to avoid a
section mismatch warning.

Reported-by: Subrata Modak <subrata@linux.vnet.ibm.com>
Signed-off-by: David Rientjes <rientjes@google.com>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
arch/powerpc/mm/numa.c