aboutsummaryrefslogtreecommitdiffstats
path: root/arch/cris/arch-v10
diff options
context:
space:
mode:
Diffstat (limited to 'arch/cris/arch-v10')
-rw-r--r--arch/cris/arch-v10/kernel/signal.c12
1 files changed, 4 insertions, 8 deletions
diff --git a/arch/cris/arch-v10/kernel/signal.c b/arch/cris/arch-v10/kernel/signal.c
index 090e9c64408b..61ce6273a895 100644
--- a/arch/cris/arch-v10/kernel/signal.c
+++ b/arch/cris/arch-v10/kernel/signal.c
@@ -101,11 +101,9 @@ badframe:
101 return 1; 101 return 1;
102} 102}
103 103
104/* Define dummy arguments to be able to reach the regs argument. */ 104asmlinkage int sys_sigreturn(void)
105
106asmlinkage int sys_sigreturn(long r10, long r11, long r12, long r13, long mof,
107 long srp, struct pt_regs *regs)
108{ 105{
106 struct pt_regs *regs = current_pt_regs();
109 struct sigframe __user *frame = (struct sigframe *)rdusp(); 107 struct sigframe __user *frame = (struct sigframe *)rdusp();
110 sigset_t set; 108 sigset_t set;
111 109
@@ -139,11 +137,9 @@ badframe:
139 return 0; 137 return 0;
140} 138}
141 139
142/* Define dummy arguments to be able to reach the regs argument. */ 140asmlinkage int sys_rt_sigreturn(void)
143
144asmlinkage int sys_rt_sigreturn(long r10, long r11, long r12, long r13,
145 long mof, long srp, struct pt_regs *regs)
146{ 141{
142 struct pt_regs *regs = current_pt_regs();
147 struct rt_sigframe __user *frame = (struct rt_sigframe *)rdusp(); 143 struct rt_sigframe __user *frame = (struct rt_sigframe *)rdusp();
148 sigset_t set; 144 sigset_t set;
149 145