Re: [PATCH 3/7] Use archdata.dma_data in dma_direct_ops and add the offset

2008-01-20 Thread Benjamin Herrenschmidt
On Mon, 2008-01-21 at 16:42 +1100, Michael Ellerman wrote: > Now that all platforms using dma_direct_offset setup the archdata.dma_data > correctly, we can change the dma_direct_ops to retrieve the offset from > the dma_data, rather than directly from the global. > > While we're here, change the

[PATCH 3/7] Use archdata.dma_data in dma_direct_ops and add the offset

2008-01-20 Thread Michael Ellerman
Now that all platforms using dma_direct_offset setup the archdata.dma_data correctly, we can change the dma_direct_ops to retrieve the offset from the dma_data, rather than directly from the global. While we're here, change the way the offset is used - instead of or'ing it into the value, add it.

Re: [PATCH 3/7] Use archdata.dma_data in dma_direct_ops

2007-12-05 Thread Arnd Bergmann
On Wednesday 05 December 2007, Michael Ellerman wrote: > Now that all platforms using dma_direct_offset setup the archdata.dma_data > correctly, we can change the dma_direct_ops to retrieve the offset from > the dma_data, rather than directly from the global. > > Signed-off-by: Michael Ellerman <[

[PATCH 3/7] Use archdata.dma_data in dma_direct_ops

2007-12-04 Thread Michael Ellerman
Now that all platforms using dma_direct_offset setup the archdata.dma_data correctly, we can change the dma_direct_ops to retrieve the offset from the dma_data, rather than directly from the global. Signed-off-by: Michael Ellerman <[EMAIL PROTECTED]> --- arch/powerpc/kernel/dma_64.c | 18 ++