diff options
author | Breno Leitao <leitao@linux.vnet.ibm.com> | 2010-10-05 17:16:22 +0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2010-10-06 07:10:32 +0400 |
commit | 5b27d42755fa6536a89f32b107fb2a53267696c2 (patch) | |
tree | a626834a26e639f0f210a735200c46ed113723e0 /drivers/net/ehea/ehea.h | |
parent | 9ed51657f6ea2a08582d6a9be5404b044972b7e0 (diff) | |
download | linux-5b27d42755fa6536a89f32b107fb2a53267696c2.tar.xz |
ehea: using wait queues instead of msleep on ehea_flush_sq
This patch just remove a msleep loop and change to wait queue,
making the code cleaner.
Signed-off-by: Breno Leitao <leitao@linux.vnet.ibm.com>
Acked-by: David Howells <dhowells@redhat.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 1846623c6ae6..5bae7daf40fb 100644 --- a/drivers/net/ehea/ehea.h +++ b/drivers/net/ehea/ehea.h @@ -491,6 +491,7 @@ struct ehea_port { u8 full_duplex; u8 autoneg; u8 num_def_qps; + wait_queue_head_t swqe_avail_wq; }; struct port_res_cfg { |