Message ID | 20180309163511.18808-2-julien.grall@arm.com |
---|---|
State | New |
Headers | show |
Series | xen/arm: Rework the way to store the LR | expand |
On 09/03/18 17:35, julien.grall@arm.com wrote: > From: Julien Grall <julien.grall@arm.com> > > Signed-off-by: Julien Grall <julien.grall@arm.com> Reviewed-by: Andre Przywara <andre.przywara@arm.com> Cheers, Andre. > --- > xen/arch/arm/gic-vgic.c | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > > diff --git a/xen/arch/arm/gic-vgic.c b/xen/arch/arm/gic-vgic.c > index 61f093db50..e3cb47e80e 100644 > --- a/xen/arch/arm/gic-vgic.c > +++ b/xen/arch/arm/gic-vgic.c > @@ -197,8 +197,8 @@ static void gic_update_one_lr(struct vcpu *v, int i) > { > if ( p->desc == NULL ) > { > - lr_val.state |= GICH_LR_PENDING; > - gic_hw_ops->write_lr(i, &lr_val); > + lr_val.state |= GICH_LR_PENDING; > + gic_hw_ops->write_lr(i, &lr_val); > } > else > gdprintk(XENLOG_WARNING, "unable to inject hw irq=%d into d%dv%d: already active in LR%d\n", >
diff --git a/xen/arch/arm/gic-vgic.c b/xen/arch/arm/gic-vgic.c index 61f093db50..e3cb47e80e 100644 --- a/xen/arch/arm/gic-vgic.c +++ b/xen/arch/arm/gic-vgic.c @@ -197,8 +197,8 @@ static void gic_update_one_lr(struct vcpu *v, int i) { if ( p->desc == NULL ) { - lr_val.state |= GICH_LR_PENDING; - gic_hw_ops->write_lr(i, &lr_val); + lr_val.state |= GICH_LR_PENDING; + gic_hw_ops->write_lr(i, &lr_val); } else gdprintk(XENLOG_WARNING, "unable to inject hw irq=%d into d%dv%d: already active in LR%d\n",