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, 09 Aug 2005 16:23:55 +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/08/09 16:23:49

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

Log message:
        Inlining will result in back-to-back mtc0 mfc0 instructions.  Break the
        hazard by using back_to_back_c0_hazard().

diff -urN linux/arch/mips/kernel/irq_cpu.c linux/arch/mips/kernel/irq_cpu.c
--- linux/arch/mips/kernel/irq_cpu.c    2005/07/13 18:20:33     1.11
+++ linux/arch/mips/kernel/irq_cpu.c    2005/08/09 15:23:49     1.12
@@ -55,6 +55,7 @@
 
        local_irq_save(flags);
        unmask_mips_irq(irq);
+       back_to_back_c0_hazard();
        local_irq_restore(flags);
 }
 
@@ -64,6 +65,7 @@
 
        local_irq_save(flags);
        mask_mips_irq(irq);
+       back_to_back_c0_hazard();
        local_irq_restore(flags);
 }
 

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