summaryrefslogtreecommitdiffstats
path: root/mm/bootmem.c
diff options
context:
space:
mode:
authorFranck Bui-Huu <vagabon.xyz@gmail.com>2006-09-26 08:31:04 +0200
committerLinus Torvalds <torvalds@g5.osdl.org>2006-09-26 17:48:45 +0200
commit69d49e681d7c7ed864a1ba45efc1e78433df8b9a (patch)
treec203f8c571d428f15b5b964468b1b90ede973915 /mm/bootmem.c
parent[PATCH] bootmem: remove useless __init in header file (diff)
downloadlinux-69d49e681d7c7ed864a1ba45efc1e78433df8b9a.tar.xz
linux-69d49e681d7c7ed864a1ba45efc1e78433df8b9a.zip
[PATCH] bootmem: mark link_bootmem() as part of the __init section
Signed-off-by: Franck Bui-Huu <vagabon.xyz@gmail.com> Cc: Dave Hansen <haveblue@us.ibm.com> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'mm/bootmem.c')
-rw-r--r--mm/bootmem.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mm/bootmem.c b/mm/bootmem.c
index 50353e0dac12..70f1528a3c8a 100644
--- a/mm/bootmem.c
+++ b/mm/bootmem.c
@@ -54,7 +54,7 @@ unsigned long __init bootmem_bootmap_pages (unsigned long pages)
/*
* link bdata in order
*/
-static void link_bootmem(bootmem_data_t *bdata)
+static void __init link_bootmem(bootmem_data_t *bdata)
{
bootmem_data_t *ent;
if (list_empty(&bdata_list)) {