Gitweb:     
http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=490f03d6595fade75a9b26e6ea9c9ebb1e4fd05a
Commit:     490f03d6595fade75a9b26e6ea9c9ebb1e4fd05a
Parent:     853944cc40ef563f4046a0ada4c1e391419f6a25
Author:     Heiko Carstens <[EMAIL PROTECTED]>
AuthorDate: Thu May 10 15:45:48 2007 +0200
Committer:  Martin Schwidefsky <[EMAIL PROTECTED]>
CommitDate: Thu May 10 15:45:53 2007 +0200

    [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 <[EMAIL PROTECTED]>
---
 arch/s390/mm/fault.c |    5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)

diff --git a/arch/s390/mm/fault.c b/arch/s390/mm/fault.c
index 8b924b3..d855cdb 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);
-
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to