Re: [PATCH v3 08/11] swiotlb-xen: remove XEN_PFN_PHYS

From: Jürgen Groß
Date: Tue Aug 04 2020 - 01:34:04 EST


On 11.07.20 00:34, Stefano Stabellini wrote:
From: Stefano Stabellini <stefano.stabellini@xxxxxxxxxx>

XEN_PFN_PHYS is only used in one place in swiotlb-xen making things more
complex than need to be.

Remove the definition of XEN_PFN_PHYS and open code the cast in the one
place where it is needed.

Signed-off-by: Stefano Stabellini <stefano.stabellini@xxxxxxxxxx>

Reviewed-by: Juergen Gross <jgross@xxxxxxxx>


Juergen