summaryrefslogtreecommitdiff
path: root/sys/arch
diff options
context:
space:
mode:
Diffstat (limited to 'sys/arch')
-rw-r--r--sys/arch/sparc/sparc/intr.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/sys/arch/sparc/sparc/intr.c b/sys/arch/sparc/sparc/intr.c
index 1dc8a42a81c..332e005a40d 100644
--- a/sys/arch/sparc/sparc/intr.c
+++ b/sys/arch/sparc/sparc/intr.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: intr.c,v 1.20 2002/05/15 23:17:54 art Exp $ */
+/* $OpenBSD: intr.c,v 1.21 2002/05/22 01:01:19 art Exp $ */
/* $NetBSD: intr.c,v 1.20 1997/07/29 09:42:03 fair Exp $ */
/*
@@ -366,6 +366,7 @@ intr_fasttrap(level, vec)
splx(s);
}
+#ifdef DIAGNOSTIC
void
splassert_check(int wantipl, const char *func)
{
@@ -380,3 +381,5 @@ splassert_check(int wantipl, const char *func)
setpsr((getpsr() & ~PSR_PIL) | wantipl << 8);
}
}
+#endif
+