summaryrefslogtreecommitdiffstats
path: root/arch/mips
diff options
context:
space:
mode:
Diffstat (limited to 'arch/mips')
-rw-r--r--arch/mips/kernel/signal.c4
-rw-r--r--arch/mips/kernel/syscall.c6
2 files changed, 4 insertions, 6 deletions
diff --git a/arch/mips/kernel/signal.c b/arch/mips/kernel/signal.c
index ac4706dcd..ed821d7df 100644
--- a/arch/mips/kernel/signal.c
+++ b/arch/mips/kernel/signal.c
@@ -77,7 +77,7 @@ int copy_siginfo_to_user(siginfo_t *to, siginfo_t *from)
* Atomically swap in the new signal mask, and wait for a signal.
*/
save_static_function(sys_sigsuspend);
-static unused int
+static_unused int
_sys_sigsuspend(struct pt_regs regs)
{
sigset_t *uset, saveset, newset;
@@ -105,7 +105,7 @@ _sys_sigsuspend(struct pt_regs regs)
save_static_function(sys_rt_sigsuspend);
-static unused int
+static_unused int
_sys_rt_sigsuspend(struct pt_regs regs)
{
sigset_t *unewset, saveset, newset;
diff --git a/arch/mips/kernel/syscall.c b/arch/mips/kernel/syscall.c
index 1c47e1be5..229ce8d12 100644
--- a/arch/mips/kernel/syscall.c
+++ b/arch/mips/kernel/syscall.c
@@ -93,24 +93,22 @@ sys_mmap2(unsigned long addr, unsigned long len, unsigned long prot,
}
save_static_function(sys_fork);
-static unused int _sys_fork(struct pt_regs regs)
+static_unused int _sys_fork(struct pt_regs regs)
{
int res;
- save_static(&regs);
res = do_fork(SIGCHLD, regs.regs[29], &regs, 0);
return res;
}
save_static_function(sys_clone);
-static unused int _sys_clone(struct pt_regs regs)
+static_unused int _sys_clone(struct pt_regs regs)
{
unsigned long clone_flags;
unsigned long newsp;
int res;
- save_static(&regs);
clone_flags = regs.regs[4];
newsp = regs.regs[5];
if (!newsp)