linux-cvs-patches
[Top] [All Lists]

CVS Update@linux-mips.org: linux

To: linux-cvs-patches@linux-mips.org
Subject: CVS Update@linux-mips.org: linux
From: ralf@linux-mips.org
Date: Tue, 12 Apr 2005 21:26:11 +0100
Reply-to: linux-mips@linux-mips.org
Sender: linux-cvs-patches-bounce@linux-mips.org
CVSROOT:        /home/cvs
Module name:    linux
Changes by:     ralf@ftp.linux-mips.org 05/04/12 21:26:05

Modified files:
        arch/mips/kernel: traps.c 

Log message:
        Fix one more case of computing the return EPC after the registers have
        already been modified.

diff -urN linux/arch/mips/kernel/traps.c linux/arch/mips/kernel/traps.c
--- linux/arch/mips/kernel/traps.c      2005/04/12 11:04:15     1.211
+++ linux/arch/mips/kernel/traps.c      2005/04/12 20:26:05     1.212
@@ -447,9 +447,9 @@
        preempt_disable();
 
        if (ll_bit == 0 || ll_task != current) {
+               compute_return_epc(regs);
                regs->regs[reg] = 0;
                preempt_enable();
-               compute_return_epc(regs);
                return;
        }
 

<Prev in Thread] Current Thread [Next in Thread>