|
[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->/
* 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
|
![]() |
Lists.xenproject.org is hosted with RackSpace, monitoring our |