aboutsummaryrefslogtreecommitdiff
path: root/sys/kern/subr_trap.c
diff options
context:
space:
mode:
authorAttilio Rao <attilio@FreeBSD.org>2012-09-08 18:27:11 +0000
committerAttilio Rao <attilio@FreeBSD.org>2012-09-08 18:27:11 +0000
commit324e57150d2960eb56dec0b1411e25fd76f2d8ef (patch)
tree52124b3834c9171d7973cf98f0dd6c90bfdfdc9b /sys/kern/subr_trap.c
parent1c978ec48bf8dea95978ed99780c14657f9e06ab (diff)
downloadsrc-324e57150d2960eb56dec0b1411e25fd76f2d8ef.tar.gz
src-324e57150d2960eb56dec0b1411e25fd76f2d8ef.zip
userret() already checks for td_locks when INVARIANTS is enabled, so
there is no need to check if Giant is acquired after it. Reviewed by: kib MFC after: 1 week
Notes
Notes: svn path=/head/; revision=240244
Diffstat (limited to 'sys/kern/subr_trap.c')
-rw-r--r--sys/kern/subr_trap.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/sys/kern/subr_trap.c b/sys/kern/subr_trap.c
index 095bbdf73b13..dcba5b83fd7c 100644
--- a/sys/kern/subr_trap.c
+++ b/sys/kern/subr_trap.c
@@ -260,7 +260,6 @@ ast(struct trapframe *framep)
}
userret(td, framep);
- mtx_assert(&Giant, MA_NOTOWNED);
}
const char *