summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authornp <np@FreeBSD.org>2015-04-08 01:09:36 +0000
committernp <np@FreeBSD.org>2015-04-08 01:09:36 +0000
commitc295a66ae0372f5ca860f5d2f684349cb7232baa (patch)
tree763a9779db0545b7ace2004858ad8042f1948d29
parent103da45e0b1d2e2cb18020a7c38a765a8d603ea3 (diff)
downloadFreeBSD-src-c295a66ae0372f5ca860f5d2f684349cb7232baa.zip
FreeBSD-src-c295a66ae0372f5ca860f5d2f684349cb7232baa.tar.gz
MFC r278372:
cxgbe(4): adapter_full_init is always a synchronized operation.
-rw-r--r--sys/dev/cxgbe/t4_main.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/dev/cxgbe/t4_main.c b/sys/dev/cxgbe/t4_main.c
index ccadfe2..35518f4 100644
--- a/sys/dev/cxgbe/t4_main.c
+++ b/sys/dev/cxgbe/t4_main.c
@@ -3317,6 +3317,7 @@ adapter_full_init(struct adapter *sc)
{
int rc, i;
+ ASSERT_SYNCHRONIZED_OP(sc);
ADAPTER_LOCK_ASSERT_NOTOWNED(sc);
KASSERT((sc->flags & FULL_INIT_DONE) == 0,
("%s: FULL_INIT_DONE already", __func__));
OpenPOWER on IntegriCloud