projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f4d1749
)
[PATCH] spufs: fix __init/__exit annotations
author
Arnd Bergmann
<arnd.bergmann@de.ibm.com>
Mon, 27 Mar 2006 19:27:40 +0000
(21:27 +0200)
committer
Paul Mackerras
<paulus@samba.org>
Tue, 28 Mar 2006 05:45:30 +0000
(16:45 +1100)
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>
arch/powerpc/platforms/cell/spufs/inode.c
patch
|
blob
|
history
diff --git
a/arch/powerpc/platforms/cell/spufs/inode.c
b/arch/powerpc/platforms/cell/spufs/inode.c
index dc06305eecf58ec52c963c5668f6bca6ccdd508b..61e70d35d808acd6331b9715fe65a4711e51fa94 100644
(file)
--- 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);