summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorJoel Sing <jsing@cvs.openbsd.org>2011-06-06 14:20:51 +0000
committerJoel Sing <jsing@cvs.openbsd.org>2011-06-06 14:20:51 +0000
commitc48a534fac43d4a1f1d8045098cb535f8ddb0891 (patch)
treef6dd53851fe656931c35db86cc63ba202c9def88 /sys
parentf9da9415bc724bbb285b71a56d23b292a4e5986b (diff)
Fix whitespace and use #ifdef TRAPDEBUG instead of #if 0.
Diffstat (limited to 'sys')
-rw-r--r--sys/arch/hppa/hppa/trap.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/sys/arch/hppa/hppa/trap.c b/sys/arch/hppa/hppa/trap.c
index 139aa54a8a4..895302ee759 100644
--- a/sys/arch/hppa/hppa/trap.c
+++ b/sys/arch/hppa/hppa/trap.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: trap.c,v 1.114 2011/04/03 14:56:28 guenther Exp $ */
+/* $OpenBSD: trap.c,v 1.115 2011/06/06 14:20:50 jsing Exp $ */
/*
* Copyright (c) 1998-2004 Michael Shalayeff
@@ -257,7 +257,7 @@ trap(int type, struct trapframe *frame)
case T_DBREAK:
dead_end:
#ifdef DDB
- if (kdb_trap (type, va, frame)) {
+ if (kdb_trap(type, va, frame)) {
if (type == T_IBREAK) {
/* skip break instruction */
frame->tf_iioq_head = frame->tf_iioq_tail;
@@ -613,9 +613,9 @@ datalign_user:
case T_DATAPID | T_USER:
/* FALLTHROUGH to unimplemented */
default:
-#if 0
-if (kdb_trap (type, va, frame))
- return;
+#ifdef TRAPDEBUG
+ if (kdb_trap(type, va, frame))
+ return;
#endif
panic("trap: unimplemented \'%s\' (%d)", tts, trapnum);
}