aboutsummaryrefslogtreecommitdiff
path: root/arch/mips/momentum/ocelot_c/irq.c
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@woody.linux-foundation.org>2007-03-19 20:13:56 -0700
committerLinus Torvalds <torvalds@woody.linux-foundation.org>2007-03-19 20:13:56 -0700
commit62b6e9ff08ced882b36c9583e350699f28912e51 (patch)
treeceff09a936b9605011486b05aad523700202bcc4 /arch/mips/momentum/ocelot_c/irq.c
parent8718d75ef23e858a6b947f5b1a43094acf3b6e23 (diff)
parent7df4246117cb0adc6c3ed54bdb2d2faf4656d9cd (diff)
Merge branch 'upstream' of git://ftp.linux-mips.org/pub/scm/upstream-linus
* 'upstream' of git://ftp.linux-mips.org/pub/scm/upstream-linus: [MIPS] Export except_vec_vi_{mori,lui,ori} as text symbols. [MIPS] mips-boards: More liberal check for mips-board console [MIPS] Misc fixes for plat_irq_dispatch functions [MIPS] Qemu: Fix Symmetric Uniprocessor support. [MIPS] VI: TRACE_IRQS_OFF clobbers $v0, so save & restore around call.
Diffstat (limited to 'arch/mips/momentum/ocelot_c/irq.c')
-rw-r--r--arch/mips/momentum/ocelot_c/irq.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/mips/momentum/ocelot_c/irq.c b/arch/mips/momentum/ocelot_c/irq.c
index 40472f7944d..844d566c9de 100644
--- a/arch/mips/momentum/ocelot_c/irq.c
+++ b/arch/mips/momentum/ocelot_c/irq.c
@@ -64,7 +64,7 @@ extern void ll_cpci_irq(void);
asmlinkage void plat_irq_dispatch(void)
{
- unsigned int pending = read_c0_cause() & read_c0_status();
+ unsigned int pending = read_c0_cause() & read_c0_status() & ST0_IM;
if (pending & STATUSF_IP0)
do_IRQ(0);