]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
swiotlb-xen: remove XEN_PFN_PHYS
authorStefano Stabellini <stefano.stabellini@xilinx.com>
Fri, 10 Jul 2020 22:34:24 +0000 (15:34 -0700)
committerJuergen Gross <jgross@suse.com>
Tue, 4 Aug 2020 05:50:43 +0000 (07:50 +0200)
commite9aab7e4ffbbf6eba8eaa66e351557c0c7562cff
treebebc46a35a39de199910b2abc93378d40b577ead
parent38ba51de46767cbcef04305c3e8a99f0965fc9df
swiotlb-xen: remove XEN_PFN_PHYS

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@xilinx.com>
Reviewed-by: Juergen Gross <jgross@suse.com>
Link: https://lore.kernel.org/r/20200710223427.6897-8-sstabellini@kernel.org
Signed-off-by: Juergen Gross <jgross@suse.com>
drivers/xen/swiotlb-xen.c
include/xen/page.h