[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-devel] [PATCH 10/24] xen/arm: domain_build: Replace paddr_to_pfn(virt_to_maddr(.)) by virt_to_mfn(.)
On Tue, 13 Jun 2017, Julien Grall wrote: > paddr_to_pfn(virt_to_maddr(.)) and virt_to_mfn(.) are equivalent. > > Signed-off-by: Julien Grall <julien.grall@xxxxxxx> Reviewed-by: Stefano Stabellini <sstabellini@xxxxxxxxxx> > --- > xen/arch/arm/domain_build.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/xen/arch/arm/domain_build.c b/xen/arch/arm/domain_build.c > index 3abacc0d80..a04c8862db 100644 > --- a/xen/arch/arm/domain_build.c > +++ b/xen/arch/arm/domain_build.c > @@ -1903,7 +1903,7 @@ static int prepare_acpi(struct domain *d, struct > kernel_info *kinfo) > rc = map_regions_p2mt(d, > _gfn(paddr_to_pfn(d->arch.efi_acpi_gpa)), > PFN_UP(d->arch.efi_acpi_len), > - > _mfn(paddr_to_pfn(virt_to_maddr(d->arch.efi_acpi_table))), > + _mfn(virt_to_mfn(d->arch.efi_acpi_table)), > p2m_mmio_direct_c); > if ( rc != 0 ) > { > -- > 2.11.0 > _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxx https://lists.xen.org/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |