summaryrefslogtreecommitdiffstats
path: root/c/src/lib/libbsp/m68k/shared/m68000spurious.c
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@oarcorp.com>2014-10-15 17:17:08 -0500
committerJoel Sherrill <joel.sherrill@oarcorp.com>2014-10-19 17:00:55 -0500
commitc186f2ed9e1fb05e65f27523159a105212e031a9 (patch)
tree0d5da414f57e1c87c53d4580cc467f20e750fd1e /c/src/lib/libbsp/m68k/shared/m68000spurious.c
parentscore603e/cscope.out: Remove file accidentally added. (diff)
downloadrtems-c186f2ed9e1fb05e65f27523159a105212e031a9.tar.bz2
m68k/mvme162: Fix warnings
Diffstat (limited to 'c/src/lib/libbsp/m68k/shared/m68000spurious.c')
-rw-r--r--c/src/lib/libbsp/m68k/shared/m68000spurious.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/c/src/lib/libbsp/m68k/shared/m68000spurious.c b/c/src/lib/libbsp/m68k/shared/m68000spurious.c
index 95e174a14a..e511ebbe74 100644
--- a/c/src/lib/libbsp/m68k/shared/m68000spurious.c
+++ b/c/src/lib/libbsp/m68k/shared/m68000spurious.c
@@ -31,9 +31,11 @@ rtems_isr bsp_spurious_handler(
CPU_Interrupt_frame *isf */
)
{
+#if 0
+ printk( "Unexpected interrupt (0x%x)\n", vector );
+#else
char *s;
- printk( "Unexpected interrupt (0x%x)\n", vector );
/*
printk( "It looks like we got the interrupt at 0x%x\n", isf->interrupted );
*/
@@ -41,9 +43,7 @@ rtems_isr bsp_spurious_handler(
/*
* Can we print a name?
*/
-
s = 0;
-#if 0
if ( vector <= 0x1f ) {
switch ( vector ) {
case 1: s = "INT0"; break;