summaryrefslogtreecommitdiff
path: root/mm
diff options
context:
space:
mode:
authorFranck Bui-Huu <vagabon.xyz@gmail.com>2006-09-26 06:31:04 (GMT)
committerLinus Torvalds <torvalds@g5.osdl.org>2006-09-26 15:48:45 (GMT)
commit69d49e681d7c7ed864a1ba45efc1e78433df8b9a (patch)
treec203f8c571d428f15b5b964468b1b90ede973915 /mm
parent2d1a07d487d8b36658404839cdf03a974968cefd (diff)
downloadlinux-69d49e681d7c7ed864a1ba45efc1e78433df8b9a.tar.xz
[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')
-rw-r--r--mm/bootmem.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mm/bootmem.c b/mm/bootmem.c
index 50353e0..70f1528a 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)) {