diff --git a/arch/s390/mm/fault.c b/arch/s390/mm/fault.c index 8b924b359774a40abb9042c2737b5ac9f6c637a2..d855cdbf8fb86b6b96d6e89b0090c95fc243a06c 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, unsigned long address, unsigned long error_code) { u16 instruction; - int rc, compat; + int rc; +#ifdef CONFIG_COMPAT + int compat; +#endif pagefault_disable(); rc = __get_user(instruction, (u16 __user *) regs->psw.addr);