| To: | linux-mips@linux-mips.org |
|---|---|
| Subject: | [PATCH 2/4] [MIPS] Fix interrupt enable/disable hazards for RM9000 |
| From: | Thomas Koeller <thomas.koeller@baslerweb.com> |
| Date: | Tue, 18 Dec 2007 01:26:37 +0100 |
| Cc: | ralf@linux-mips.org |
| Original-recipient: | rfc822;linux-mips@linux-mips.org |
| Sender: | linux-mips-bounce@linux-mips.org |
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@baslerweb.com>
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
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | excite patches, Thomas Koeller |
|---|---|
| Next by Date: | [PATCH 3/4] [MIPS] Allow platform to override default timer and performance counter interrupts, Thomas Koeller |
| Previous by Thread: | excite patches, Thomas Koeller |
| Next by Thread: | [PATCH 3/4] [MIPS] Allow platform to override default timer and performance counter interrupts, Thomas Koeller |
| Indexes: | [Date] [Thread] [Top] [All Lists] |