[PATCH] bootmem: mark link_bootmem() as part of the __init section
authorFranck Bui-Huu <vagabon.xyz@gmail.com>
Tue, 26 Sep 2006 06:31:04 +0000 (23:31 -0700)
committerLinus Torvalds <torvalds@g5.osdl.org>
Tue, 26 Sep 2006 15:48:45 +0000 (08:48 -0700)
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>
mm/bootmem.c

index 50353e0dac12dc41441b64c78b59c852140f76c4..70f1528a3c8a6876dd813e9f1cf1ff44cf3b6d2f 100644 (file)
@@ -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)) {