Skip to content

Commit

Permalink
[PATCH] spufs: fix __init/__exit annotations
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Arnd Bergmann authored and Paul Mackerras committed Mar 28, 2006
1 parent f4d1749 commit e78b47a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions arch/powerpc/platforms/cell/spufs/inode.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down Expand Up @@ -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);
Expand Down

0 comments on commit e78b47a

Please sign in to comment.