aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--arch/s390/mm/fault.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/arch/s390/mm/fault.c b/arch/s390/mm/fault.c
index 8b924b359774..d855cdbf8fb8 100644
--- a/arch/s390/mm/fault.c
+++ b/arch/s390/mm/fault.c
@@ -253,7 +253,10 @@ static int signal_return(struct mm_struct *mm, struct pt_regs *regs,
253 unsigned long address, unsigned long error_code) 253 unsigned long address, unsigned long error_code)
254{ 254{
255 u16 instruction; 255 u16 instruction;
256 int rc, compat; 256 int rc;
257#ifdef CONFIG_COMPAT
258 int compat;
259#endif
257 260
258 pagefault_disable(); 261 pagefault_disable();
259 rc = __get_user(instruction, (u16 __user *) regs->psw.addr); 262 rc = __get_user(instruction, (u16 __user *) regs->psw.addr);