Commit afd8d7c7 authored by Christophe JAILLET's avatar Christophe JAILLET Committed by Rafael J. Wysocki

PM: hibernate: Add __init annotation to swsusp_header_init()

'swsusp_header_init()' is only called via 'core_initcall'.
It can be marked as __init to save a few bytes of memory.
Signed-off-by: default avatarChristophe JAILLET <christophe.jaillet@wanadoo.fr>
[ rjw: Subject ]
Signed-off-by: default avatarRafael J. Wysocki <rafael.j.wysocki@intel.com>
parent 355ba37d
......@@ -1590,7 +1590,7 @@ int swsusp_unmark(void)
}
#endif
static int swsusp_header_init(void)
static int __init swsusp_header_init(void)
{
swsusp_header = (struct swsusp_header*) __get_free_page(GFP_KERNEL);
if (!swsusp_header)
......
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