提交 2ad0f81c 编写于 作者: X Xiao Guangrong 提交者: Greg Kroah-Hartman

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: NSeth Jennings <sjenning@linux.vnet.ibm.com>
Signed-off-by: NXiao Guangrong <xiaoguangrong@linux.vnet.ibm.com>
Acked-by: NKonrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
上级 f64d94f9
......@@ -600,7 +600,7 @@ static void zbud_evict_pages(int nr)
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% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册