Module Name: src
Committed By: maxv
Date: Thu Jul 30 08:11:44 UTC 2015
Modified Files:
src/sys/kern: sys_pset.c
Log Message:
Don't forget to unlock the LWP.
ok rmind@
To generate a diff of this commit:
cvs rdiff -u -r1.18 -r1.19 src/sys/kern/sys_pset.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/sys/kern/sys_pset.c
diff -u src/sys/kern/sys_pset.c:1.18 src/sys/kern/sys_pset.c:1.19
--- src/sys/kern/sys_pset.c:1.18 Tue Feb 25 18:30:11 2014
+++ src/sys/kern/sys_pset.c Thu Jul 30 08:11:44 2015
@@ -1,4 +1,4 @@
-/* $NetBSD: sys_pset.c,v 1.18 2014/02/25 18:30:11 pooka Exp $ */
+/* $NetBSD: sys_pset.c,v 1.19 2015/07/30 08:11:44 maxv Exp $ */
/*
* Copyright (c) 2008, Mindaugas Rasiukevicius <rmind at NetBSD org>
@@ -36,7 +36,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: sys_pset.c,v 1.18 2014/02/25 18:30:11 pooka Exp $");
+__KERNEL_RCSID(0, "$NetBSD: sys_pset.c,v 1.19 2015/07/30 08:11:44 maxv Exp $");
#include <sys/param.h>
@@ -380,6 +380,7 @@ sys_pset_assign(struct lwp *l, const str
mutex_exit(&cpu_lock);
return EPERM;
}
+ lwp_unlock(t);
}
/*
* Set the processor-set ID.