Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 358493
b: refs/heads/master
c: b9ee868
h: refs/heads/master
i:
  358491: e8836f0
v: v3
  • Loading branch information
Bartlomiej Zolnierkiewicz authored and Vinod Koul committed Jan 8, 2013
1 parent 36aeae3 commit 1da05e9
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 8 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 06eeb114026804a9a9cb83eaeb00e24aaa40ba0b
refs/heads/master: b9ee86830f34737a08deead93872a79a37419a13
2 changes: 1 addition & 1 deletion trunk/drivers/misc/carma/carma-fpga-program.c
Original file line number Diff line number Diff line change
Expand Up @@ -546,7 +546,7 @@ static noinline int fpga_program_dma(struct fpga_dev *priv)
goto out_dma_unmap;
}

dma_async_memcpy_issue_pending(chan);
dma_async_issue_pending(chan);

/* Set the total byte count */
fpga_set_byte_count(priv->regs, priv->bytes);
Expand Down
2 changes: 1 addition & 1 deletion trunk/drivers/misc/carma/carma-fpga.c
Original file line number Diff line number Diff line change
Expand Up @@ -751,7 +751,7 @@ static irqreturn_t data_irq(int irq, void *dev_id)
submitted = true;

/* Start the DMA Engine */
dma_async_memcpy_issue_pending(priv->chan);
dma_async_issue_pending(priv->chan);

out:
/* If no DMA was submitted, re-enable interrupts */
Expand Down
2 changes: 0 additions & 2 deletions trunk/include/linux/dmaengine.h
Original file line number Diff line number Diff line change
Expand Up @@ -901,8 +901,6 @@ static inline void dma_async_issue_pending(struct dma_chan *chan)
chan->device->device_issue_pending(chan);
}

#define dma_async_memcpy_issue_pending(chan) dma_async_issue_pending(chan)

/**
* dma_async_is_tx_complete - poll for transaction completion
* @chan: DMA channel
Expand Down
6 changes: 3 additions & 3 deletions trunk/net/ipv4/tcp.c
Original file line number Diff line number Diff line change
Expand Up @@ -1406,7 +1406,7 @@ static void tcp_service_net_dma(struct sock *sk, bool wait)
return;

last_issued = tp->ucopy.dma_cookie;
dma_async_memcpy_issue_pending(tp->ucopy.dma_chan);
dma_async_issue_pending(tp->ucopy.dma_chan);

do {
if (dma_async_memcpy_complete(tp->ucopy.dma_chan,
Expand Down Expand Up @@ -1744,7 +1744,7 @@ int tcp_recvmsg(struct kiocb *iocb, struct sock *sk, struct msghdr *msg,
tcp_service_net_dma(sk, true);
tcp_cleanup_rbuf(sk, copied);
} else
dma_async_memcpy_issue_pending(tp->ucopy.dma_chan);
dma_async_issue_pending(tp->ucopy.dma_chan);
}
#endif
if (copied >= target) {
Expand Down Expand Up @@ -1837,7 +1837,7 @@ int tcp_recvmsg(struct kiocb *iocb, struct sock *sk, struct msghdr *msg,
break;
}

dma_async_memcpy_issue_pending(tp->ucopy.dma_chan);
dma_async_issue_pending(tp->ucopy.dma_chan);

if ((offset + used) == skb->len)
copied_early = true;
Expand Down

0 comments on commit 1da05e9

Please sign in to comment.