summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--sys/kern/subr_trap.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/sys/kern/subr_trap.c b/sys/kern/subr_trap.c
index 11e25e4..b2fc0fc 100644
--- a/sys/kern/subr_trap.c
+++ b/sys/kern/subr_trap.c
@@ -78,7 +78,6 @@ userret(td, frame, oticks)
p->p_comm);
#ifdef INVARIANTS
/* Check that we called signotify() enough. */
- mtx_lock(&Giant);
PROC_LOCK(p);
mtx_lock_spin(&sched_lock);
if (SIGPENDING(td) && ((td->td_flags & TDF_NEEDSIGCHK) == 0 ||
@@ -86,7 +85,6 @@ userret(td, frame, oticks)
printf("failed to set signal flags properly for ast()\n");
mtx_unlock_spin(&sched_lock);
PROC_UNLOCK(p);
- mtx_unlock(&Giant);
#endif
/*
OpenPOWER on IntegriCloud