summaryrefslogtreecommitdiff
path: root/sys/dev/lockstat.c
diff options
context:
space:
mode:
authorad <ad@NetBSD.org>2007-06-15 20:17:07 +0000
committerad <ad@NetBSD.org>2007-06-15 20:17:07 +0000
commit029f4f9cd7abeb156e6a135e80fcedccec060d8d (patch)
tree7cfb6f1272c8121f6898f0d44e885ef6bb79aaa1 /sys/dev/lockstat.c
parente6bf177ae19f42943bea19418f846efe3f46783d (diff)
splstatclock, spllock -> splhigh
Diffstat (limited to 'sys/dev/lockstat.c')
-rw-r--r--sys/dev/lockstat.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/sys/dev/lockstat.c b/sys/dev/lockstat.c
index b86d9939e2d..218f9d4787b 100644
--- a/sys/dev/lockstat.c
+++ b/sys/dev/lockstat.c
@@ -1,7 +1,7 @@
-/* $NetBSD: lockstat.c,v 1.8 2007/03/04 06:01:42 christos Exp $ */
+/* $NetBSD: lockstat.c,v 1.9 2007/06/15 20:17:07 ad Exp $ */
/*-
- * Copyright (c) 2006 The NetBSD Foundation, Inc.
+ * Copyright (c) 2006, 2007 The NetBSD Foundation, Inc.
* All rights reserved.
*
* This code is derived from software contributed to The NetBSD Foundation
@@ -44,7 +44,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: lockstat.c,v 1.8 2007/03/04 06:01:42 christos Exp $");
+__KERNEL_RCSID(0, "$NetBSD: lockstat.c,v 1.9 2007/06/15 20:17:07 ad Exp $");
#include <sys/types.h>
#include <sys/param.h>
@@ -381,7 +381,7 @@ lockstat_event(uintptr_t lock, uintptr_t callsite, u_int flags, u_int count,
lc = curcpu()->ci_lockstat;
ll = &lc->lc_hash[LOCKSTAT_HASH(lock ^ callsite)];
event = (flags & LB_EVENT_MASK) - 1;
- s = spllock();
+ s = splhigh();
LIST_FOREACH(lb, ll, lb_chain.list) {
if (lb->lb_lock == lock && lb->lb_callsite == callsite)