Re: [rfc 23/45] cpu alloc: dmaengine conversion

2007-11-20 Thread Christoph Lameter
On Tue, 20 Nov 2007, Mathieu Desnoyers wrote: > > @@ -488,11 +487,8 @@ dma_async_memcpy_buf_to_buf(struct dma_c > > tx->tx_set_dest(addr, tx, 0); > > cookie = tx->tx_submit(tx); > > > > - cpu = get_cpu(); > > - per_cpu_ptr(chan->local, cpu)->bytes_transferred += len; > > - per_cpu_

Re: [rfc 23/45] cpu alloc: dmaengine conversion

2007-11-20 Thread Mathieu Desnoyers
* [EMAIL PROTECTED] ([EMAIL PROTECTED]) wrote: > Convert DMA engine to use CPU_xx operations. This also removes the use of > local_t > from the dmaengine. > > Signed-off-by: Christoph Lameter <[EMAIL PROTECTED]> > --- > drivers/dma/dmaengine.c | 38 ++ > i

[rfc 23/45] cpu alloc: dmaengine conversion

2007-11-19 Thread clameter
Convert DMA engine to use CPU_xx operations. This also removes the use of local_t from the dmaengine. Signed-off-by: Christoph Lameter <[EMAIL PROTECTED]> --- drivers/dma/dmaengine.c | 38 ++ include/linux/dmaengine.h | 16 ++-- 2 files chang