diff options
author | Breno Leitao <leitao@linux.vnet.ibm.com> | 2010-10-05 09:16:23 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2010-10-05 23:10:55 -0400 |
commit | a8bb69f78194dc483f6c4a4bf8860c1ede35fa25 (patch) | |
tree | fed6f88567669fa2c59e5016f00162e54b7bd67d /drivers/net/ehea/ehea.h | |
parent | 5b27d42755fa6536a89f32b107fb2a53267696c2 (diff) |
ehea: converting msleeps to waitqueue on check_sqs() function
Removing the msleep() call in check_sqs() function, and replacing by a wait queue.
Signed-off-by: Breno Leitao <leitao@linux.vnet.ibm.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ehea/ehea.h')
-rw-r--r-- | drivers/net/ehea/ehea.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/ehea/ehea.h b/drivers/net/ehea/ehea.h index 5bae7daf40fb..1321cb6401cf 100644 --- a/drivers/net/ehea/ehea.h +++ b/drivers/net/ehea/ehea.h | |||
@@ -492,6 +492,7 @@ struct ehea_port { | |||
492 | u8 autoneg; | 492 | u8 autoneg; |
493 | u8 num_def_qps; | 493 | u8 num_def_qps; |
494 | wait_queue_head_t swqe_avail_wq; | 494 | wait_queue_head_t swqe_avail_wq; |
495 | wait_queue_head_t restart_wq; | ||
495 | }; | 496 | }; |
496 | 497 | ||
497 | struct port_res_cfg { | 498 | struct port_res_cfg { |