summaryrefslogtreecommitdiffstats
path: root/sys/powerpc/aim
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/powerpc/aim
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/powerpc/aim')
-rw-r--r--sys/powerpc/aim/trap.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/sys/powerpc/aim/trap.c b/sys/powerpc/aim/trap.c
index d419e43..b55d34b 100644
--- a/sys/powerpc/aim/trap.c
+++ b/sys/powerpc/aim/trap.c
@@ -297,7 +297,6 @@ trap(struct trapframe *frame)
}
userret(td, frame);
- mtx_assert(&Giant, MA_NOTOWNED);
}
static void
OpenPOWER on IntegriCloud