aboutsummaryrefslogtreecommitdiffstats
path: root/arch/mips/kernel/syscall.c
diff options
context:
space:
mode:
authorDavid Rientjes <rientjes@google.com>2007-07-22 04:01:39 -0400
committerRalf Baechle <ralf@linux-mips.org>2007-07-24 11:02:47 -0400
commitf5dbeaf5ed3938beea8e58ee473982a4bcadc172 (patch)
tree1e9b799a4b89ee5499885cd633ecb3a9e7e565d6 /arch/mips/kernel/syscall.c
parentfce2303166a8f214a890bd405e0088febdce765f (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.c4
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
169save_static_function(sys_fork); 169save_static_function(sys_fork);
170__attribute_used__ noinline static int 170static 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], &regs, 0, NULL, NULL); 173 return do_fork(SIGCHLD, regs.regs[29], &regs, 0, NULL, NULL);
174} 174}
175 175
176save_static_function(sys_clone); 176save_static_function(sys_clone);
177__attribute_used__ noinline static int 177static 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;