aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFranck Bui-Huu <vagabon.xyz@gmail.com>2006-09-26 02:31:04 -0400
committerLinus Torvalds <torvalds@g5.osdl.org>2006-09-26 11:48:45 -0400
commit69d49e681d7c7ed864a1ba45efc1e78433df8b9a (patch)
treec203f8c571d428f15b5b964468b1b90ede973915
parent2d1a07d487d8b36658404839cdf03a974968cefd (diff)
[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>
-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)
54/* 54/*
55 * link bdata in order 55 * link bdata in order
56 */ 56 */
57static void link_bootmem(bootmem_data_t *bdata) 57static void __init link_bootmem(bootmem_data_t *bdata)
58{ 58{
59 bootmem_data_t *ent; 59 bootmem_data_t *ent;
60 if (list_empty(&bdata_list)) { 60 if (list_empty(&bdata_list)) {