summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorMiod Vallat <miod@cvs.openbsd.org>2001-12-08 18:06:00 +0000
committerMiod Vallat <miod@cvs.openbsd.org>2001-12-08 18:06:00 +0000
commit22743c34885fbc8555c15808f50298fdfdac5bd1 (patch)
treea38ae8f1d038ceca69b90326b238f3ca3cda6cfa /sys
parent77962f5cdd11f9b386367da83b06b8cccae2332b (diff)
Be 9600-bauds friendly and panic() on unexpected issues, rather than printf()
in loop.
Diffstat (limited to 'sys')
-rw-r--r--sys/arch/mvme88k/mvme88k/machdep.c13
1 files changed, 5 insertions, 8 deletions
diff --git a/sys/arch/mvme88k/mvme88k/machdep.c b/sys/arch/mvme88k/mvme88k/machdep.c
index f0fed8abeda..0f841fa6b5c 100644
--- a/sys/arch/mvme88k/mvme88k/machdep.c
+++ b/sys/arch/mvme88k/mvme88k/machdep.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: machdep.c,v 1.70 2001/12/08 02:24:06 art Exp $ */
+/* $OpenBSD: machdep.c,v 1.71 2001/12/08 18:05:59 miod Exp $ */
/*
* Copyright (c) 1998, 1999, 2000, 2001 Steve Murphree, Jr.
* Copyright (c) 1996 Nivas Madhur
@@ -1713,8 +1713,8 @@ sbc_ext_int(u_int v, struct m88100_saved_state *eframe)
*/
if ((mask == level) && level) {
- printf("mask == level, %d\n", level);
- goto beatit;
+ panic("mask == level, %d\n", level);
+ return;
}
/*
@@ -1723,8 +1723,8 @@ sbc_ext_int(u_int v, struct m88100_saved_state *eframe)
*/
if (level == 0) {
- printf("Bogons... level %x and mask %x\n", level, mask);
- goto beatit;
+ panic("Bogons... level %x and mask %x\n", level, mask);
+ return;
}
/* and block interrupts at level or lower */
@@ -1809,9 +1809,6 @@ out:
* was taken.
*/
setipl((u_char)mask);
-
-beatit:
- return;
}
#endif /* defined(MVME187) || defined(MVME197) */