Re: [PATCH 3/4] powerpc: use the newly added get_required_mask dma_map_ops hook

2011-06-25 Thread Geoff Levand
On 06/24/2011 12:05 PM, Nishanth Aravamudan wrote: > From: Milton Miller > > Now that the generic code has dma_map_ops set, instead of having a > messy ifdef & if block in the base dma_get_required_mask hook push > the computation into the dma ops. > arch/powerpc/platforms/ps3/system-bus.c |

[PATCH 3/4] powerpc: use the newly added get_required_mask dma_map_ops hook

2011-06-24 Thread Nishanth Aravamudan
From: Milton Miller Now that the generic code has dma_map_ops set, instead of having a messy ifdef & if block in the base dma_get_required_mask hook push the computation into the dma ops. If the ops fails to set the get_required_mask hook default to the width of dma_addr_t. This also corrects i