diff options
author | Artur Grabowski <art@cvs.openbsd.org> | 2002-05-22 01:01:20 +0000 |
---|---|---|
committer | Artur Grabowski <art@cvs.openbsd.org> | 2002-05-22 01:01:20 +0000 |
commit | d4e9c6a4727516da94b0e47894554e73ceb7e304 (patch) | |
tree | ad3a33bdecd1585c346514c1379caa08e58a985c /sys/arch | |
parent | 1b97852cabfe679c4abdd7aac0a10c0183b90011 (diff) |
splassert_check should be ifdef DIAGNOSTIC
Diffstat (limited to 'sys/arch')
-rw-r--r-- | sys/arch/sparc/sparc/intr.c | 5 |
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 + |