summaryrefslogtreecommitdiffstats
path: root/sys/kern/subr_trap.c
diff options
context:
space:
mode:
authorattilio <attilio@FreeBSD.org>2012-09-08 18:27:11 +0000
committerattilio <attilio@FreeBSD.org>2012-09-08 18:27:11 +0000
commit8dece93b14588b73bf5dec69091706dcdccba2fc (patch)
tree52124b3834c9171d7973cf98f0dd6c90bfdfdc9b /sys/kern/subr_trap.c
parentc069e61b00c591709456d152a3b719e87ac7e570 (diff)
downloadFreeBSD-src-8dece93b14588b73bf5dec69091706dcdccba2fc.zip
FreeBSD-src-8dece93b14588b73bf5dec69091706dcdccba2fc.tar.gz
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
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 095bbdf..dcba5b8 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 *
OpenPOWER on IntegriCloud