diff options
author | David Rientjes <rientjes@google.com> | 2007-07-22 04:01:39 -0400 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2007-07-24 11:02:47 -0400 |
commit | f5dbeaf5ed3938beea8e58ee473982a4bcadc172 (patch) | |
tree | 1e9b799a4b89ee5499885cd633ecb3a9e7e565d6 /arch/mips/kernel/syscall.c | |
parent | fce2303166a8f214a890bd405e0088febdce765f (diff) |
[MIPS] Replace __attribute_used__ with __used
Replaces the deprecated __attribute_used__ with __used. Also makes some
style adjustments to abide by the kernel coding conventions.
Cc: Ralf Baechle <ralf@linux-mips.org>
Signed-off-by: David Rientjes <rientjes@google.com>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'arch/mips/kernel/syscall.c')
-rw-r--r-- | arch/mips/kernel/syscall.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/mips/kernel/syscall.c b/arch/mips/kernel/syscall.c index b947c61c0cc8..b53f7edbc159 100644 --- a/arch/mips/kernel/syscall.c +++ b/arch/mips/kernel/syscall.c | |||
@@ -167,14 +167,14 @@ sys_mmap2(unsigned long addr, unsigned long len, unsigned long prot, | |||
167 | } | 167 | } |
168 | 168 | ||
169 | save_static_function(sys_fork); | 169 | save_static_function(sys_fork); |
170 | __attribute_used__ noinline static int | 170 | static int __used noinline |
171 | _sys_fork(nabi_no_regargs struct pt_regs regs) | 171 | _sys_fork(nabi_no_regargs struct pt_regs regs) |
172 | { | 172 | { |
173 | return do_fork(SIGCHLD, regs.regs[29], ®s, 0, NULL, NULL); | 173 | return do_fork(SIGCHLD, regs.regs[29], ®s, 0, NULL, NULL); |
174 | } | 174 | } |
175 | 175 | ||
176 | save_static_function(sys_clone); | 176 | save_static_function(sys_clone); |
177 | __attribute_used__ noinline static int | 177 | static int __used noinline |
178 | _sys_clone(nabi_no_regargs struct pt_regs regs) | 178 | _sys_clone(nabi_no_regargs struct pt_regs regs) |
179 | { | 179 | { |
180 | unsigned long clone_flags; | 180 | unsigned long clone_flags; |