Commit 2ad0f81c authored by Xiao Guangrong's avatar Xiao Guangrong Committed by Greg Kroah-Hartman
Browse files

staging: zcache: mark zbud_init/zcache_comp_init as __init



These functions are called only when system is initializing, so mark __init
for them to free memory
Acked-by: default avatarSeth Jennings <sjenning@linux.vnet.ibm.com>
Signed-off-by: default avatarXiao Guangrong <xiaoguangrong@linux.vnet.ibm.com>
Acked-by: default avatarKonrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent f64d94f9
......@@ -600,7 +600,7 @@ out:
return;
}
static void zbud_init(void)
static void __init zbud_init(void)
{
int i;
......@@ -1985,7 +1985,7 @@ static int __init enable_zcache_compressor(char *s)
__setup("zcache=", enable_zcache_compressor);
static int zcache_comp_init(void)
static int __init zcache_comp_init(void)
{
int ret = 0;
......
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