summaryrefslogtreecommitdiff
path: root/sys/arch/hppa64
diff options
context:
space:
mode:
authorJoel Sing <jsing@cvs.openbsd.org>2011-03-30 13:54:24 +0000
committerJoel Sing <jsing@cvs.openbsd.org>2011-03-30 13:54:24 +0000
commit17bfc5d23416ac303f8809ff6e5de579b6feffd0 (patch)
tree83234171ebc06c9bb62f5f7f8e828d8ec3f3a5ed /sys/arch/hppa64
parentb2a9719f14570a8a33e5ad1f35147d99f6b42f91 (diff)
Use #ifdef TRAPDEBUG and fix indentation.
Diffstat (limited to 'sys/arch/hppa64')
-rw-r--r--sys/arch/hppa64/hppa64/trap.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/sys/arch/hppa64/hppa64/trap.c b/sys/arch/hppa64/hppa64/trap.c
index 0f85a339aae..0a75c61e16d 100644
--- a/sys/arch/hppa64/hppa64/trap.c
+++ b/sys/arch/hppa64/hppa64/trap.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: trap.c,v 1.14 2011/03/30 13:50:55 jsing Exp $ */
+/* $OpenBSD: trap.c,v 1.15 2011/03/30 13:54:23 jsing Exp $ */
/*
* Copyright (c) 2005 Michael Shalayeff
@@ -521,9 +521,9 @@ printf("eirr 0x%08x\n", mfctl(CR_EIRR));
}
/* FALLTHROUGH to unimplemented */
default:
-#if 1
-if (kdb_trap (type, va, frame))
- return;
+#ifdef TRAPDEBUG
+ if (kdb_trap(type, va, frame))
+ return;
#endif
panic("trap: unimplemented \'%s\' (%d)", tts, trapnum);
}