WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

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

* 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.

thanks,
-chris

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

<Prev in Thread] Current Thread [Next in Thread>