summaryrefslogtreecommitdiff
path: root/usr/src/uts/common/io/fcoe/fcoe_fc.c
diff options
context:
space:
mode:
authorRafael Vanoni <rafael.vanoni@sun.com>2009-11-13 01:32:32 -0800
committerRafael Vanoni <rafael.vanoni@sun.com>2009-11-13 01:32:32 -0800
commitd3d50737e566cade9a08d73d2af95105ac7cd960 (patch)
tree399b76a3f6bf107e2ff506d8f9c3333654b29fc7 /usr/src/uts/common/io/fcoe/fcoe_fc.c
parent1eff5f7761619411b3c31280fcd96cefc32968b7 (diff)
downloadillumos-joyent-d3d50737e566cade9a08d73d2af95105ac7cd960.tar.gz
PSARC/2009/396 Tickless Kernel Architecture / lbolt decoupling
6860030 tickless clock requires a clock() decoupled lbolt / lbolt64 Portions contributed by Chad Mynhier <cmynhier@gmail.com>
Diffstat (limited to 'usr/src/uts/common/io/fcoe/fcoe_fc.c')
-rw-r--r--usr/src/uts/common/io/fcoe/fcoe_fc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr/src/uts/common/io/fcoe/fcoe_fc.c b/usr/src/uts/common/io/fcoe/fcoe_fc.c
index ba7b6cbad5..1aab1e5128 100644
--- a/usr/src/uts/common/io/fcoe/fcoe_fc.c
+++ b/usr/src/uts/common/io/fcoe/fcoe_fc.c
@@ -210,8 +210,8 @@ tx_frame:
MAC_TX_NO_ENQUEUE, &ret_mblk);
if (ret_cookie != NULL) {
mutex_enter(&mac->fm_mutex);
- (void) cv_timedwait(&mac->fm_tx_cv, &mac->fm_mutex,
- ddi_get_lbolt() + drv_usectohz(100000));
+ (void) cv_reltimedwait(&mac->fm_tx_cv, &mac->fm_mutex,
+ drv_usectohz(100000), TR_CLOCK_TICK);
mutex_exit(&mac->fm_mutex);
if (mac->fm_state == FCOE_MAC_STATE_OFFLINE) {