[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>
This commit is contained in:
Franck Bui-Huu 2006-09-25 23:31:04 -07:00 committed by Linus Torvalds
parent 2d1a07d487
commit 69d49e681d

View 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)) {