Messages in this thread | | | Date | Sat, 5 Dec 2009 13:10:11 +1100 | From | Stephen Rothwell <> | Subject | Re: [PATCH 05/31] Constify struct dma_map_ops for 2.6.32 v1 |
| |
Hi Emese,
On Sat, 05 Dec 2009 03:00:25 +0100 Emese Revfy <re.emese@gmail.com> wrote: > > Ok, I made the changes, I also removed the vio_cmo_set_dma_ops function > because I think it is now unnecessary.
It is necessary because vio_dma_mapping_ops is only defined when CONFIG_PPC_SMLPAR is set, but that function was called from unconditional code (and there was a trivial version for when CONFIG_PPC_SMLPAR was not set) i.e. we only want the dma_ops set if we were built with CONFIG_PPC_SMLPAR.
-- Cheers, Stephen Rothwell sfr@canb.auug.org.au http://www.canb.auug.org.au/~sfr/ [unhandled content-type:application/pgp-signature] | |