Re: [PATCH 09/15] ppc/vio: use dma ops helpers

2010-10-13 Thread Nishanth Aravamudan
On 13.10.2010 [15:56:00 +1100], Benjamin Herrenschmidt wrote: > On Wed, 2010-09-15 at 12:33 -0600, Grant Likely wrote: > > On Wed, Sep 15, 2010 at 12:05 PM, Nishanth Aravamudan > > wrote: > > > Use the set_dma_ops helper. Instead of modifying vio_dma_mapping_ops, > > > just create a trivial wrapp

Re: [PATCH 09/15] ppc/vio: use dma ops helpers

2010-10-12 Thread Benjamin Herrenschmidt
On Wed, 2010-09-15 at 12:33 -0600, Grant Likely wrote: > On Wed, Sep 15, 2010 at 12:05 PM, Nishanth Aravamudan wrote: > > Use the set_dma_ops helper. Instead of modifying vio_dma_mapping_ops, > > just create a trivial wrapper for dma_supported. > > > > Signed-off-by: Milton Miller > > Signed-off-

Re: [PATCH 09/15] ppc/vio: use dma ops helpers

2010-09-15 Thread Grant Likely
On Wed, Sep 15, 2010 at 12:05 PM, Nishanth Aravamudan wrote: > Use the set_dma_ops helper. Instead of modifying vio_dma_mapping_ops, > just create a trivial wrapper for dma_supported. > > Signed-off-by: Milton Miller > Signed-off-by: Nishanth Aravamudan Looks right to me. > --- >  arch/powerpc

[PATCH 09/15] ppc/vio: use dma ops helpers

2010-09-15 Thread Nishanth Aravamudan
Use the set_dma_ops helper. Instead of modifying vio_dma_mapping_ops, just create a trivial wrapper for dma_supported. Signed-off-by: Milton Miller Signed-off-by: Nishanth Aravamudan --- arch/powerpc/kernel/vio.c | 11 --- 1 files changed, 8 insertions(+), 3 deletions(-) diff --git a