diff options
-rw-r--r-- | drivers/misc/carma/carma-fpga-program.c | 2 | ||||
-rw-r--r-- | drivers/misc/carma/carma-fpga.c | 2 | ||||
-rw-r--r-- | include/linux/dmaengine.h | 2 | ||||
-rw-r--r-- | net/ipv4/tcp.c | 6 |
4 files changed, 5 insertions, 7 deletions
diff --git a/drivers/misc/carma/carma-fpga-program.c b/drivers/misc/carma/carma-fpga-program.c index eaddfe9db149..736c7714f565 100644 --- a/drivers/misc/carma/carma-fpga-program.c +++ b/drivers/misc/carma/carma-fpga-program.c | |||
@@ -546,7 +546,7 @@ static noinline int fpga_program_dma(struct fpga_dev *priv) | |||
546 | goto out_dma_unmap; | 546 | goto out_dma_unmap; |
547 | } | 547 | } |
548 | 548 | ||
549 | dma_async_memcpy_issue_pending(chan); | 549 | dma_async_issue_pending(chan); |
550 | 550 | ||
551 | /* Set the total byte count */ | 551 | /* Set the total byte count */ |
552 | fpga_set_byte_count(priv->regs, priv->bytes); | 552 | fpga_set_byte_count(priv->regs, priv->bytes); |
diff --git a/drivers/misc/carma/carma-fpga.c b/drivers/misc/carma/carma-fpga.c index 6b43f8c7b3be..7508cafff103 100644 --- a/drivers/misc/carma/carma-fpga.c +++ b/drivers/misc/carma/carma-fpga.c | |||
@@ -751,7 +751,7 @@ static irqreturn_t data_irq(int irq, void *dev_id) | |||
751 | submitted = true; | 751 | submitted = true; |
752 | 752 | ||
753 | /* Start the DMA Engine */ | 753 | /* Start the DMA Engine */ |
754 | dma_async_memcpy_issue_pending(priv->chan); | 754 | dma_async_issue_pending(priv->chan); |
755 | 755 | ||
756 | out: | 756 | out: |
757 | /* If no DMA was submitted, re-enable interrupts */ | 757 | /* If no DMA was submitted, re-enable interrupts */ |
diff --git a/include/linux/dmaengine.h b/include/linux/dmaengine.h index be6e95395b11..cd15958d4d1d 100644 --- a/include/linux/dmaengine.h +++ b/include/linux/dmaengine.h | |||
@@ -901,8 +901,6 @@ static inline void dma_async_issue_pending(struct dma_chan *chan) | |||
901 | chan->device->device_issue_pending(chan); | 901 | chan->device->device_issue_pending(chan); |
902 | } | 902 | } |
903 | 903 | ||
904 | #define dma_async_memcpy_issue_pending(chan) dma_async_issue_pending(chan) | ||
905 | |||
906 | /** | 904 | /** |
907 | * dma_async_is_tx_complete - poll for transaction completion | 905 | * dma_async_is_tx_complete - poll for transaction completion |
908 | * @chan: DMA channel | 906 | * @chan: DMA channel |
diff --git a/net/ipv4/tcp.c b/net/ipv4/tcp.c index 1ca253635f7a..cf949a119a54 100644 --- a/net/ipv4/tcp.c +++ b/net/ipv4/tcp.c | |||
@@ -1406,7 +1406,7 @@ static void tcp_service_net_dma(struct sock *sk, bool wait) | |||
1406 | return; | 1406 | return; |
1407 | 1407 | ||
1408 | last_issued = tp->ucopy.dma_cookie; | 1408 | last_issued = tp->ucopy.dma_cookie; |
1409 | dma_async_memcpy_issue_pending(tp->ucopy.dma_chan); | 1409 | dma_async_issue_pending(tp->ucopy.dma_chan); |
1410 | 1410 | ||
1411 | do { | 1411 | do { |
1412 | if (dma_async_memcpy_complete(tp->ucopy.dma_chan, | 1412 | if (dma_async_memcpy_complete(tp->ucopy.dma_chan, |
@@ -1744,7 +1744,7 @@ int tcp_recvmsg(struct kiocb *iocb, struct sock *sk, struct msghdr *msg, | |||
1744 | tcp_service_net_dma(sk, true); | 1744 | tcp_service_net_dma(sk, true); |
1745 | tcp_cleanup_rbuf(sk, copied); | 1745 | tcp_cleanup_rbuf(sk, copied); |
1746 | } else | 1746 | } else |
1747 | dma_async_memcpy_issue_pending(tp->ucopy.dma_chan); | 1747 | dma_async_issue_pending(tp->ucopy.dma_chan); |
1748 | } | 1748 | } |
1749 | #endif | 1749 | #endif |
1750 | if (copied >= target) { | 1750 | if (copied >= target) { |
@@ -1837,7 +1837,7 @@ do_prequeue: | |||
1837 | break; | 1837 | break; |
1838 | } | 1838 | } |
1839 | 1839 | ||
1840 | dma_async_memcpy_issue_pending(tp->ucopy.dma_chan); | 1840 | dma_async_issue_pending(tp->ucopy.dma_chan); |
1841 | 1841 | ||
1842 | if ((offset + used) == skb->len) | 1842 | if ((offset + used) == skb->len) |
1843 | copied_early = true; | 1843 | copied_early = true; |