diff options
author | Arnd Bergmann <arnd.bergmann@de.ibm.com> | 2006-03-27 21:27:40 +0200 |
---|---|---|
committer | Paul Mackerras <paulus@samba.org> | 2006-03-28 16:45:30 +1100 |
commit | e78b47a59026f04eb98b9d392901be13b56f444f (patch) | |
tree | 01c2fac8c4f76604ee24e074c11f4b4dbfeacda8 /arch/powerpc/platforms/cell/spufs/inode.c | |
parent | f4d1749e9570d3984800c371c6e06eb35b9718b1 (diff) | |
download | op-kernel-dev-e78b47a59026f04eb98b9d392901be13b56f444f.zip op-kernel-dev-e78b47a59026f04eb98b9d392901be13b56f444f.tar.gz |
[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>
Diffstat (limited to 'arch/powerpc/platforms/cell/spufs/inode.c')
-rw-r--r-- | arch/powerpc/platforms/cell/spufs/inode.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/powerpc/platforms/cell/spufs/inode.c b/arch/powerpc/platforms/cell/spufs/inode.c index dc06305..61e70d3 100644 --- a/arch/powerpc/platforms/cell/spufs/inode.c +++ b/arch/powerpc/platforms/cell/spufs/inode.c @@ -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 @@ out: } module_init(spufs_init); -static void spufs_exit(void) +static void __exit spufs_exit(void) { spu_sched_exit(); unregister_spu_syscalls(&spufs_calls); |