summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorArtur Grabowski <art@cvs.openbsd.org>2000-09-07 18:39:14 +0000
committerArtur Grabowski <art@cvs.openbsd.org>2000-09-07 18:39:14 +0000
commite5e5f64dfbc0259927c65ac2ecc1c74b4cbcaeac (patch)
tree6180aa67eb575a74c63daadaf2e542d0a214b2ec /sys
parent39b8eb2bcb22da1f09bf166f18ba43017702ee32 (diff)
Run powerhooks at splhigh.
Diffstat (limited to 'sys')
-rw-r--r--sys/kern/kern_subr.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/kern/kern_subr.c b/sys/kern/kern_subr.c
index a561d9bd3a9..d9f735b6109 100644
--- a/sys/kern/kern_subr.c
+++ b/sys/kern/kern_subr.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: kern_subr.c,v 1.13 2000/09/05 21:47:14 aaron Exp $ */
+/* $OpenBSD: kern_subr.c,v 1.14 2000/09/07 18:39:13 art Exp $ */
/* $NetBSD: kern_subr.c,v 1.15 1996/04/09 17:21:56 ragge Exp $ */
/*
@@ -317,7 +317,7 @@ dopowerhooks(why)
struct powerhook_desc *dp;
int s;
- s = splimp();
+ s = splhigh();
for (dp = LIST_FIRST(&powerhook_list);
dp != NULL;
dp = LIST_NEXT(dp, sfd_list)) {