[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-devel] Re: [PATCH 04/15] [swiotlb] Search and replace s/io_tlb/iommu_sw->/



On Thu, Jan 14, 2010 at 05:43:30PM -0800, Chris Wright wrote:
> * Konrad Rzeszutek Wilk (konrad.wilk@xxxxxxxxxx) wrote:
> > We also fix the checkpatch.pl errors that surfaced during
> > this conversion.
> > 
> > Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@xxxxxxxxxx>
> > ---
> >  lib/swiotlb.c |  204 
> > +++++++++++++++++++++++++++++----------------------------
> >  1 files changed, 104 insertions(+), 100 deletions(-)
> > 
> > diff --git a/lib/swiotlb.c b/lib/swiotlb.c
> > index e84f269..3499001 100644
> > --- a/lib/swiotlb.c
> > +++ b/lib/swiotlb.c
> > @@ -176,14 +176,14 @@ EXPORT_SYMBOL(swiotlb_register_engine);
> >  
> >  void swiotlb_print_info(void)
> >  {
> > -   unsigned long bytes = io_tlb_nslabs << IO_TLB_SHIFT;
> > +   unsigned long bytes = iommu_sw->nslabs << IO_TLB_SHIFT;
> 
> This isn't a bisect friendly way to do this...this would oops w/
> iommu_sw == NULL.

Yes. Let me redo this in a friendlier manner.

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.