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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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 <thomas.koeller@xxxxxxxxxxxxx>

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




[Index of Archives]     [Linux MIPS Home]     [LKML Archive]     [Linux ARM Kernel]     [Linux ARM]     [Linux]     [Git]     [Yosemite News]     [Linux SCSI]     [Linux Hams]

  Powered by Linux