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: Seth Jennings <sjenning@linux.vnet.ibm.com> Signed-off-by: Xiao Guangrong <xiaoguangrong@linux.vnet.ibm.com> Acked-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
f64d94f9f7
commit
2ad0f81c58
@ -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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user