summaryrefslogtreecommitdiffstats
path: root/c/src/lib/libbsp/powerpc/mbx8xx/irq/irq.c
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2002-01-16 22:29:25 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2002-01-16 22:29:25 +0000
commitbe1c6bcdf7698025368626c97312aae1446b65a8 (patch)
treeacb653057d2fe946e3f631565ecdc1d12eb1d77e /c/src/lib/libbsp/powerpc/mbx8xx/irq/irq.c
parentde569fee9ff6ded0a71bd76d3cdefb82b5399419 (diff)
downloadrtems-be1c6bcdf7698025368626c97312aae1446b65a8.tar.bz2
2001-01-16 Eric Valette <valette@crt.canon.fr>
* irq/irq.c: Correct minor bug in mbx8xx interrupt handling. Quoting Eric, "In theory it should be applied in each mpc8xx related BSP but as I cannot test it plase maintainer/users submit patch accordingly."
Diffstat (limited to 'c/src/lib/libbsp/powerpc/mbx8xx/irq/irq.c')
-rw-r--r--c/src/lib/libbsp/powerpc/mbx8xx/irq/irq.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/c/src/lib/libbsp/powerpc/mbx8xx/irq/irq.c b/c/src/lib/libbsp/powerpc/mbx8xx/irq/irq.c
index 7e9e003c12..656046a41a 100644
--- a/c/src/lib/libbsp/powerpc/mbx8xx/irq/irq.c
+++ b/c/src/lib/libbsp/powerpc/mbx8xx/irq/irq.c
@@ -476,7 +476,7 @@ void C_dispatch_irq_handler (CPU_Interrupt_frame *frame, unsigned int excNum)
irq -= BSP_CPM_IRQ_LOWEST_OFFSET;
((volatile immap_t *)IMAP_ADDR)->im_cpic.cpic_cisr = (1 << irq);
}
- ppc_cached_irq_mask |= (oldMask & ~(SIU_IvectMask[irq]));
+ ppc_cached_irq_mask = oldMask;
((volatile immap_t *)IMAP_ADDR)->im_siu_conf.sc_simask = ppc_cached_irq_mask;
#ifdef DISPATCH_HANDLER_STAT
++ loopCounter;