aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux
diff options
context:
space:
mode:
authorDavid Howells <dhowells@redhat.com>2012-03-28 13:30:03 -0400
committerDavid Howells <dhowells@redhat.com>2012-03-28 13:30:03 -0400
commit49a7f04a4b9d45cd794741ce3d5d66524b37bdd0 (patch)
tree74f7df3f508691bd73597119a537f810cf43d2ef /include/linux
parent705f4502bb9592ad0e8fb1cd2ba5ae4ce955ff8b (diff)
Move all declarations of free_initmem() to linux/mm.h
Move all declarations of free_initmem() to linux/mm.h so that there's only one and it's used by everything. Signed-off-by: David Howells <dhowells@redhat.com> cc: linux-c6x-dev@linux-c6x.org cc: microblaze-uclinux@itee.uq.edu.au cc: linux-sh@vger.kernel.org cc: sparclinux@vger.kernel.org cc: x86@kernel.org cc: linux-mm@kvack.org
Diffstat (limited to 'include/linux')
-rw-r--r--include/linux/mm.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/mm.h b/include/linux/mm.h
index 7330742e7973..69f6d7b7eb01 100644
--- a/include/linux/mm.h
+++ b/include/linux/mm.h
@@ -1257,6 +1257,8 @@ static inline void pgtable_page_dtor(struct page *page)
1257extern void free_area_init(unsigned long * zones_size); 1257extern void free_area_init(unsigned long * zones_size);
1258extern void free_area_init_node(int nid, unsigned long * zones_size, 1258extern void free_area_init_node(int nid, unsigned long * zones_size,
1259 unsigned long zone_start_pfn, unsigned long *zholes_size); 1259 unsigned long zone_start_pfn, unsigned long *zholes_size);
1260extern void free_initmem(void);
1261
1260#ifdef CONFIG_HAVE_MEMBLOCK_NODE_MAP 1262#ifdef CONFIG_HAVE_MEMBLOCK_NODE_MAP
1261/* 1263/*
1262 * With CONFIG_HAVE_MEMBLOCK_NODE_MAP set, an architecture may initialise its 1264 * With CONFIG_HAVE_MEMBLOCK_NODE_MAP set, an architecture may initialise its