diff options
author | avg <avg@FreeBSD.org> | 2011-12-21 10:52:17 +0000 |
---|---|---|
committer | avg <avg@FreeBSD.org> | 2011-12-21 10:52:17 +0000 |
commit | 1978c13acfb0ee99028517bffc774c1db12b112d (patch) | |
tree | efdaccce16c9ddf61a6f94944b8e2ec7307bdb50 /share/mk/bsd.files.mk | |
parent | d26d94695993e318a8fa7ccaefdf7c8c9022ad8d (diff) | |
download | FreeBSD-src-1978c13acfb0ee99028517bffc774c1db12b112d.zip FreeBSD-src-1978c13acfb0ee99028517bffc774c1db12b112d.tar.gz |
adapt usb transfer code for SCHEDULER_STOPPED
When SCHEDULER_STOPPED() is true the mtx_owned() call may return
an unexpected and thus meaningless result.
So, in the code paths that can be reached when SCHEDULER_STOPPED() is true
we need to protect the mtx_owned() calls with the SCHEDULER_STOPPED()
checks and ensure that an appropriate branch is taken in each case.
Reviewed by: hselasky
MFC after: 3 months
X-MFC after: r228424
Diffstat (limited to 'share/mk/bsd.files.mk')
0 files changed, 0 insertions, 0 deletions