summaryrefslogtreecommitdiffstats
path: root/c/src/lib/libbsp/powerpc/mbx8xx/irq/irq.c
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2002-04-18 20:54:54 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2002-04-18 20:54:54 +0000
commit80387318e50d01aad0dd549f1aa18faf8ffc0eed (patch)
tree4108e794193900470005fa22acf43a113c29e7bf /c/src/lib/libbsp/powerpc/mbx8xx/irq/irq.c
parent2002-04-18 Ralf Corsepius <corsepiu@faw.uni-ulm.de> (diff)
downloadrtems-80387318e50d01aad0dd549f1aa18faf8ffc0eed.tar.bz2
2002-04-18 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* irq/irq.c: Reflect changes to <rtems/score/cpu.h>. Fix loopCounter. * irq/irq_asm.S: Reflect changes to <rtems/score/cpu.h>. * vectors/vectors.S: Ditto. * vectors/vectors_init.c: Include <rtems/bspIo.h>.
Diffstat (limited to '')
-rw-r--r--c/src/lib/libbsp/powerpc/mbx8xx/irq/irq.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/c/src/lib/libbsp/powerpc/mbx8xx/irq/irq.c b/c/src/lib/libbsp/powerpc/mbx8xx/irq/irq.c
index 656046a41a..eb3a237500 100644
--- a/c/src/lib/libbsp/powerpc/mbx8xx/irq/irq.c
+++ b/c/src/lib/libbsp/powerpc/mbx8xx/irq/irq.c
@@ -11,13 +11,13 @@
* $Id$
*/
+#include <rtems/system.h>
#include <bsp.h>
#include <bsp/irq.h>
#include <rtems/score/thread.h>
#include <rtems/score/apiext.h>
#include <libcpu/raw_exception.h>
#include <bsp/vectors.h>
-#include <libcpu/cpu.h>
#include <bsp/8xx_immap.h>
#include <bsp/mbx.h>
#include <bsp/commproc.h>
@@ -402,8 +402,9 @@ void C_dispatch_irq_handler (CPU_Interrupt_frame *frame, unsigned int excNum)
register unsigned oldMask; /* old siu pic masks */
register unsigned msr;
register unsigned new_msr;
+#ifdef DISPATCH_HANDLER_STAT
unsigned loopCounter;
-
+#endif
/*
* Handle decrementer interrupt
*/