Subject: [PATCH 2/4] [MIPS] Fix interrupt enable/disable hazards for RM9000

From: Thomas Koeller <[email-masked]>
Date: Tue, 18 Dec 2007 01:26:37 +0100

The no-op hazards present before this caused
c0_compare_int_usable() in arch/mips/kernel/cevt-r4k.c
to fail.

Signed-off-by: Thomas Koeller <[email-masked]>

diff --git a/include/asm-mips/hazards.h b/include/asm-mips/hazards.h
index 2de638f..6454d66 100644
--- a/include/asm-mips/hazards.h
+++ b/include/asm-mips/hazards.h
@@ -176,8 +176,10 @@ ASMMACRO(tlb_probe_hazard,
 	 _ssnop; _ssnop; _ssnop; _ssnop
 	)
 ASMMACRO(irq_enable_hazard,
+	 _ssnop; _ssnop; _ssnop; _ssnop
 	)
 ASMMACRO(irq_disable_hazard,
+	 _ssnop; _ssnop; _ssnop; _ssnop
 	)
 ASMMACRO(back_to_back_c0_hazard,
 	)
-- 
1.5.3.6