diff options
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 | } |