From: Heiko Carstens Date: Thu, 10 May 2007 13:45:48 +0000 (+0200) Subject: [S390] Avoid compile warning. X-Git-Tag: MMI-PSA29.97-13-9~43255^2~7 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=490f03d6595fade75a9b26e6ea9c9ebb1e4fd05a;p=GitHub%2FMotorolaMobilityLLC%2Fkernel-slsi.git [S390] Avoid compile warning. arch/s390/mm/fault.c: In function `signal_return': arch/s390/mm/fault.c:256: warning: unused variable `compat' Signed-off-by: Heiko Carstens --- 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, 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);