From: Ralf Baechle Date: Tue, 9 Aug 2005 15:23:49 +0000 (+0000) Subject: Inlining will result in back-to-back mtc0 mfc0 instructions. Break the X-Git-Tag: v2.6.15-rc1~731^2~1^2~115 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d9912d87840b321678c85396c6adf15ced2c228d;p=linux-2.6 Inlining will result in back-to-back mtc0 mfc0 instructions. Break the hazard by using back_to_back_c0_hazard(). Signed-off-by: Ralf Baechle --- diff --git a/arch/mips/kernel/irq_cpu.c b/arch/mips/kernel/irq_cpu.c index 060722e42c..31c38c4971 100644 --- a/arch/mips/kernel/irq_cpu.c +++ b/arch/mips/kernel/irq_cpu.c @@ -55,6 +55,7 @@ static inline void mips_cpu_irq_enable(unsigned int irq) local_irq_save(flags); unmask_mips_irq(irq); + back_to_back_c0_hazard(); local_irq_restore(flags); } @@ -64,6 +65,7 @@ static void mips_cpu_irq_disable(unsigned int irq) local_irq_save(flags); mask_mips_irq(irq); + back_to_back_c0_hazard(); local_irq_restore(flags); }