summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArtur Grabowski <art@cvs.openbsd.org>2001-08-30 12:20:05 +0000
committerArtur Grabowski <art@cvs.openbsd.org>2001-08-30 12:20:05 +0000
commit7124ed7dbd977a7d893e6d4113b3d806563d3b06 (patch)
treeb140c57863b73e149cd92a03042aa610f5a0c60c
parent6dc71867c8c216f5fefaf57c984cea9d0886b654 (diff)
disable TRAPTRACE and fix a compile error with DEBUG.
-rw-r--r--sys/arch/sparc64/sparc64/locore.s4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/arch/sparc64/sparc64/locore.s b/sys/arch/sparc64/sparc64/locore.s
index acb43763a69..a3fc243c30f 100644
--- a/sys/arch/sparc64/sparc64/locore.s
+++ b/sys/arch/sparc64/sparc64/locore.s
@@ -59,7 +59,7 @@
#define INTR_INTERLOCK /* Use IH_PEND field to interlock interrupts */
#undef PARANOID /* Extremely expensive consistency checks */
#undef NO_VCACHE /* Map w/D$ disabled */
-#define TRAPTRACE /* Keep history of all traps (unsafe) */
+#undef TRAPTRACE /* Keep history of all traps (unsafe) */
#undef FLTRACE /* Keep history of all page faults */
#undef TRAPSTATS /* Count traps */
#undef TRAPS_USE_IG /* Use Interrupt Globals for all traps */
@@ -3994,7 +3994,7 @@ interrupt_vector:
bgeu,pn %xcc, 3f
nop
LDPTR [%g3 + %g5], %g5 ! We have a pointer to the handler
-#if DEBUG
+#ifdef DEBUG
brnz,pt %g5, 1f
nop
STACKFRAME(-CC64FSZ) ! Get a clean register window