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:
Xiao Guangrong 2012-06-26 16:50:50 +08:00 committed by Greg Kroah-Hartman
parent f64d94f9f7
commit 2ad0f81c58
1 changed files with 2 additions and 2 deletions

View File

@ -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;