summaryrefslogtreecommitdiffstats
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
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."
-rw-r--r--c/src/lib/libbsp/powerpc/mbx8xx/ChangeLog7
-rw-r--r--c/src/lib/libbsp/powerpc/mbx8xx/irq/irq.c2
2 files changed, 8 insertions, 1 deletions
diff --git a/c/src/lib/libbsp/powerpc/mbx8xx/ChangeLog b/c/src/lib/libbsp/powerpc/mbx8xx/ChangeLog
index 5d5bc85648..3aa7bbe5c3 100644
--- a/c/src/lib/libbsp/powerpc/mbx8xx/ChangeLog
+++ b/c/src/lib/libbsp/powerpc/mbx8xx/ChangeLog
@@ -1,3 +1,10 @@
+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."
+
2002-01-03 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* console/console.c: Include rtems/bspIo.h instead of bspIo.h.
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;