summaryrefslogtreecommitdiffstats
path: root/sys/kern/kern_exit.c
diff options
context:
space:
mode:
authordavidxu <davidxu@FreeBSD.org>2003-04-21 14:42:04 +0000
committerdavidxu <davidxu@FreeBSD.org>2003-04-21 14:42:04 +0000
commitd5ff3e991d4c478f58ae8e59672ac12af47d58ae (patch)
tree3883b3769c9c6154638adbf188670165e4bc9b34 /sys/kern/kern_exit.c
parent6d1b148a91ae695db0154d852b8e5fdf101578a3 (diff)
downloadFreeBSD-src-d5ff3e991d4c478f58ae8e59672ac12af47d58ae.zip
FreeBSD-src-d5ff3e991d4c478f58ae8e59672ac12af47d58ae.tar.gz
Fix lock order reversal problem.
Diffstat (limited to 'sys/kern/kern_exit.c')
-rw-r--r--sys/kern/kern_exit.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/sys/kern/kern_exit.c b/sys/kern/kern_exit.c
index 0339bb6..187364b 100644
--- a/sys/kern/kern_exit.c
+++ b/sys/kern/kern_exit.c
@@ -137,9 +137,7 @@ exit1(struct thread *td, int rv)
* First check if some other thread got here before us..
* if so, act apropriatly, (exit or suspend);
*/
- DROP_GIANT();
thread_suspend_check(0);
- PICKUP_GIANT();
/*
* Kill off the other threads. This requires
OpenPOWER on IntegriCloud