From: Franck Bui-Huu Date: Tue, 26 Sep 2006 06:31:04 +0000 (-0700) Subject: [PATCH] bootmem: mark link_bootmem() as part of the __init section X-Git-Tag: v2.6.19-rc1~1216 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=69d49e681d7c7ed864a1ba45efc1e78433df8b9a;p=linux-2.6 [PATCH] bootmem: mark link_bootmem() as part of the __init section Signed-off-by: Franck Bui-Huu Cc: Dave Hansen Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- diff --git a/mm/bootmem.c b/mm/bootmem.c index 50353e0dac..70f1528a3c 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)) {