[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: Arnd Bergmann <arnd.bergmann@de.ibm.com> Signed-off-by: Paul Mackerras <paulus@samba.org>
This commit is contained in:
committed by
Paul Mackerras
parent
f4d1749e95
commit
e78b47a590
@@ -442,7 +442,7 @@ static struct file_system_type spufs_type = {
|
|||||||
.kill_sb = kill_litter_super,
|
.kill_sb = kill_litter_super,
|
||||||
};
|
};
|
||||||
|
|
||||||
static int spufs_init(void)
|
static int __init spufs_init(void)
|
||||||
{
|
{
|
||||||
int ret;
|
int ret;
|
||||||
ret = -ENOMEM;
|
ret = -ENOMEM;
|
||||||
@@ -472,7 +472,7 @@ out:
|
|||||||
}
|
}
|
||||||
module_init(spufs_init);
|
module_init(spufs_init);
|
||||||
|
|
||||||
static void spufs_exit(void)
|
static void __exit spufs_exit(void)
|
||||||
{
|
{
|
||||||
spu_sched_exit();
|
spu_sched_exit();
|
||||||
unregister_spu_syscalls(&spufs_calls);
|
unregister_spu_syscalls(&spufs_calls);
|
||||||
|
Reference in New Issue
Block a user