提交 e78b47a5 编写于 作者: A Arnd Bergmann 提交者: Paul Mackerras

[PATCH] spufs: fix __init/__exit annotations

spufs_init and spufs_exit should be marked correctly so
they can be removed when not needed.
Signed-off-by: NArnd Bergmann <arnd.bergmann@de.ibm.com>
Signed-off-by: NPaul Mackerras <paulus@samba.org>
上级 f4d1749e
......@@ -442,7 +442,7 @@ static struct file_system_type spufs_type = {
.kill_sb = kill_litter_super,
};
static int spufs_init(void)
static int __init spufs_init(void)
{
int ret;
ret = -ENOMEM;
......@@ -472,7 +472,7 @@ static int spufs_init(void)
}
module_init(spufs_init);
static void spufs_exit(void)
static void __exit spufs_exit(void)
{
spu_sched_exit();
unregister_spu_syscalls(&spufs_calls);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册