summaryrefslogtreecommitdiffstats
path: root/arch/mips
diff options
context:
space:
mode:
authorKeith M Wesolowski <wesolows@foobazco.org>2000-10-29 01:53:41 +0000
committerKeith M Wesolowski <wesolows@foobazco.org>2000-10-29 01:53:41 +0000
commite65b7e69af9220d92ab9f467f92d963f01aac028 (patch)
tree0d6ee31265d9406e9141b58cf7c99519b506a027 /arch/mips
parenta0fc4c5c106b10039b3ce9a3c552587677b060db (diff)
Fix the build after the previous patch.
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)