Message ID | 20170613161323.25196-3-julien.grall@arm.com |
---|---|
State | Accepted |
Commit | 5da2fc8784114f0bc14f6af0f1ad5a69e4fb3789 |
Headers | show |
Series | xen/arm: Extend the usage of typesafe MFN | expand |
On Tue, 13 Jun 2017, Julien Grall wrote: > Signed-off-by: Julien Grall <julien.grall@arm.com> Reviewed-by: Stefano Stabellini <sstabellini@kernel.org> > --- > xen/arch/arm/gic-v2.c | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > > diff --git a/xen/arch/arm/gic-v2.c b/xen/arch/arm/gic-v2.c > index 270a1362ec..f8124e5e54 100644 > --- a/xen/arch/arm/gic-v2.c > +++ b/xen/arch/arm/gic-v2.c > @@ -598,8 +598,8 @@ static int gicv2_map_hwdown_extra_mappings(struct domain *d) > v2m_data->spi_start, v2m_data->nr_spis); > > ret = map_mmio_regions(d, _gfn(paddr_to_pfn(v2m_data->addr)), > - DIV_ROUND_UP(v2m_data->size, PAGE_SIZE), > - _mfn(paddr_to_pfn(v2m_data->addr))); > + DIV_ROUND_UP(v2m_data->size, PAGE_SIZE), > + _mfn(paddr_to_pfn(v2m_data->addr))); > if ( ret ) > { > printk(XENLOG_ERR "GICv2: Map v2m frame to d%d failed.\n", > -- > 2.11.0 >
diff --git a/xen/arch/arm/gic-v2.c b/xen/arch/arm/gic-v2.c index 270a1362ec..f8124e5e54 100644 --- a/xen/arch/arm/gic-v2.c +++ b/xen/arch/arm/gic-v2.c @@ -598,8 +598,8 @@ static int gicv2_map_hwdown_extra_mappings(struct domain *d) v2m_data->spi_start, v2m_data->nr_spis); ret = map_mmio_regions(d, _gfn(paddr_to_pfn(v2m_data->addr)), - DIV_ROUND_UP(v2m_data->size, PAGE_SIZE), - _mfn(paddr_to_pfn(v2m_data->addr))); + DIV_ROUND_UP(v2m_data->size, PAGE_SIZE), + _mfn(paddr_to_pfn(v2m_data->addr))); if ( ret ) { printk(XENLOG_ERR "GICv2: Map v2m frame to d%d failed.\n",
Signed-off-by: Julien Grall <julien.grall@arm.com> --- xen/arch/arm/gic-v2.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)