diff options
author | np <np@FreeBSD.org> | 2015-04-08 01:09:36 +0000 |
---|---|---|
committer | np <np@FreeBSD.org> | 2015-04-08 01:09:36 +0000 |
commit | c295a66ae0372f5ca860f5d2f684349cb7232baa (patch) | |
tree | 763a9779db0545b7ace2004858ad8042f1948d29 | |
parent | 103da45e0b1d2e2cb18020a7c38a765a8d603ea3 (diff) | |
download | FreeBSD-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.c | 1 |
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__)); |