diff options
author | Jan-Bernd Themann <ossthema@de.ibm.com> | 2007-10-08 10:01:33 -0400 |
---|---|---|
committer | David S. Miller <davem@sunset.davemloft.net> | 2007-10-10 19:55:27 -0400 |
commit | 3bf76b81608479a10077bd6b55972d40db782067 (patch) | |
tree | f6a4e251c1db5c3723e90c4c6dbff82cd5e356b4 /drivers/net/ehea/ehea_qmr.c | |
parent | ddfce6bb43c6bf1c9956e7a65ce1b2e19a156bd2 (diff) |
ehea: use kernel event queue
eHEA recovery and DLPAR functions are called seldomly. The eHEA workqueues
are replaced by the kernel event queue.
Signed-off-by: Jan-Bernd Themann <themann@de.ibm.com>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
Diffstat (limited to 'drivers/net/ehea/ehea_qmr.c')
-rw-r--r-- | drivers/net/ehea/ehea_qmr.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/net/ehea/ehea_qmr.c b/drivers/net/ehea/ehea_qmr.c index 329a25248d75..83b76432b41a 100644 --- a/drivers/net/ehea/ehea_qmr.c +++ b/drivers/net/ehea/ehea_qmr.c | |||
@@ -34,7 +34,6 @@ | |||
34 | 34 | ||
35 | struct ehea_busmap ehea_bmap = { 0, 0, NULL }; | 35 | struct ehea_busmap ehea_bmap = { 0, 0, NULL }; |
36 | extern u64 ehea_driver_flags; | 36 | extern u64 ehea_driver_flags; |
37 | extern struct workqueue_struct *ehea_driver_wq; | ||
38 | extern struct work_struct ehea_rereg_mr_task; | 37 | extern struct work_struct ehea_rereg_mr_task; |
39 | 38 | ||
40 | 39 | ||
@@ -618,7 +617,7 @@ u64 ehea_map_vaddr(void *caddr) | |||
618 | 617 | ||
619 | if (unlikely(mapped_addr == -1)) | 618 | if (unlikely(mapped_addr == -1)) |
620 | if (!test_and_set_bit(__EHEA_STOP_XFER, &ehea_driver_flags)) | 619 | if (!test_and_set_bit(__EHEA_STOP_XFER, &ehea_driver_flags)) |
621 | queue_work(ehea_driver_wq, &ehea_rereg_mr_task); | 620 | schedule_work(&ehea_rereg_mr_task); |
622 | 621 | ||
623 | return mapped_addr; | 622 | return mapped_addr; |
624 | } | 623 | } |