diff options
Diffstat (limited to 'sys/dev/dpaa/qman_portals.c')
-rw-r--r-- | sys/dev/dpaa/qman_portals.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/sys/dev/dpaa/qman_portals.c b/sys/dev/dpaa/qman_portals.c index 92461665def2..37f9b4eec178 100644 --- a/sys/dev/dpaa/qman_portals.c +++ b/sys/dev/dpaa/qman_portals.c @@ -146,8 +146,7 @@ qman_portal_setup(struct qman_softc *qsc) } /* Not inititialized and "owned" by another thread */ - thread_lock(curthread); - mi_switch(SW_VOL); + sched_relinquish(curthread); } /* Map portal registers */ |