Commit 69d49e68 authored by Franck Bui-Huu's avatar Franck Bui-Huu Committed by Linus Torvalds

[PATCH] bootmem: mark link_bootmem() as part of the __init section

Signed-off-by: default avatarFranck Bui-Huu <vagabon.xyz@gmail.com>
Cc: Dave Hansen <haveblue@us.ibm.com>
Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
parent 2d1a07d4
...@@ -54,7 +54,7 @@ unsigned long __init bootmem_bootmap_pages (unsigned long pages) ...@@ -54,7 +54,7 @@ unsigned long __init bootmem_bootmap_pages (unsigned long pages)
/* /*
* link bdata in order * 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; bootmem_data_t *ent;
if (list_empty(&bdata_list)) { if (list_empty(&bdata_list)) {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment