mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-27 06:04:23 +08:00
[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:
parent
2d1a07d487
commit
69d49e681d
@ -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)) {
|
||||
|
Loading…
Reference in New Issue
Block a user