summaryrefslogtreecommitdiff
path: root/sys/kern/kern_task.c
diff options
context:
space:
mode:
authorMark Kettenis <kettenis@cvs.openbsd.org>2013-12-11 22:39:50 +0000
committerMark Kettenis <kettenis@cvs.openbsd.org>2013-12-11 22:39:50 +0000
commited62a20c5359f54ddcc57be9e0257f2c63b98f54 (patch)
tree6a8d2331961da813cee193a50945cba17f5b786e /sys/kern/kern_task.c
parentad0d40febdc593622a68de51378ba6bfb1e87ec8 (diff)
Fix typo; that teaches me to steal other people's diffs!
Diffstat (limited to 'sys/kern/kern_task.c')
-rw-r--r--sys/kern/kern_task.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/kern/kern_task.c b/sys/kern/kern_task.c
index 9e7aae936f3..2ba2d990ec0 100644
--- a/sys/kern/kern_task.c
+++ b/sys/kern/kern_task.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: kern_task.c,v 1.7 2013/12/10 17:08:01 kettenis Exp $ */
+/* $OpenBSD: kern_task.c,v 1.8 2013/12/11 22:39:49 kettenis Exp $ */
/*
* Copyright (c) 2013 David Gwynne <dlg@openbsd.org>
@@ -81,7 +81,7 @@ taskq_create(const char *name, unsigned int nthreads, int ipl)
tq->tq_unlocked = 1;
else
tq->tq_unlocked = 0;
- ipl &= IPL_MPSAFE;
+ ipl &= ~IPL_MPSAFE;
mtx_init(&tq->tq_mtx, ipl);
TAILQ_INIT(&tq->tq_worklist);