diff options
-rw-r--r-- | arch/s390/mm/fault.c | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/arch/s390/mm/fault.c b/arch/s390/mm/fault.c index ed13d429a487..a9c635f01db8 100644 --- a/arch/s390/mm/fault.c +++ b/arch/s390/mm/fault.c | |||
@@ -245,10 +245,10 @@ static void do_sigbus(struct pt_regs *regs, unsigned long error_code, | |||
245 | } | 245 | } |
246 | 246 | ||
247 | #ifdef CONFIG_S390_EXEC_PROTECT | 247 | #ifdef CONFIG_S390_EXEC_PROTECT |
248 | extern long sys_sigreturn(struct pt_regs *regs); | 248 | extern long sys_sigreturn(void); |
249 | extern long sys_rt_sigreturn(struct pt_regs *regs); | 249 | extern long sys_rt_sigreturn(void); |
250 | extern long sys32_sigreturn(struct pt_regs *regs); | 250 | extern long sys32_sigreturn(void); |
251 | extern long sys32_rt_sigreturn(struct pt_regs *regs); | 251 | extern long sys32_rt_sigreturn(void); |
252 | 252 | ||
253 | static int signal_return(struct mm_struct *mm, struct pt_regs *regs, | 253 | static int signal_return(struct mm_struct *mm, struct pt_regs *regs, |
254 | unsigned long address, unsigned long error_code) | 254 | unsigned long address, unsigned long error_code) |
@@ -270,15 +270,15 @@ static int signal_return(struct mm_struct *mm, struct pt_regs *regs, | |||
270 | #ifdef CONFIG_COMPAT | 270 | #ifdef CONFIG_COMPAT |
271 | compat = test_tsk_thread_flag(current, TIF_31BIT); | 271 | compat = test_tsk_thread_flag(current, TIF_31BIT); |
272 | if (compat && instruction == 0x0a77) | 272 | if (compat && instruction == 0x0a77) |
273 | sys32_sigreturn(regs); | 273 | sys32_sigreturn(); |
274 | else if (compat && instruction == 0x0aad) | 274 | else if (compat && instruction == 0x0aad) |
275 | sys32_rt_sigreturn(regs); | 275 | sys32_rt_sigreturn(); |
276 | else | 276 | else |
277 | #endif | 277 | #endif |
278 | if (instruction == 0x0a77) | 278 | if (instruction == 0x0a77) |
279 | sys_sigreturn(regs); | 279 | sys_sigreturn(); |
280 | else if (instruction == 0x0aad) | 280 | else if (instruction == 0x0aad) |
281 | sys_rt_sigreturn(regs); | 281 | sys_rt_sigreturn(); |
282 | else { | 282 | else { |
283 | current->thread.prot_addr = address; | 283 | current->thread.prot_addr = address; |
284 | current->thread.trap_no = error_code; | 284 | current->thread.trap_no = error_code; |