lkml.org 
[lkml]   [2009]   [Dec]   [4]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [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]
\
 
 \ /
  Last update: 2009-12-05 03:13    [W:0.067 / U:0.108 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site