irqchip/gic-v3: fix quiescence check in gic_enable_redist
Subsystems (2)
PATCH 1/1 irqchip/gic-v3: fix quiescence check in gic_enable_redist
Signed-off-by Andrew Jones <[email protected]>
---
I'm unaware of any problems this may have caused. I only just saw it while reading over the code.
drivers/irqchip/irq-gic-v3.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/irqchip/irq-gic-v3.c +1 -1
@@ -147,7 +147,7 @@ static void gic_enable_redist(bool enable)while (count--) { val =readl_relaxed (rbase +GICR_WAKER ); -if (enable ^ (val & GICR_WAKER_ChildrenAsleep)) +if (enable ^ (bool )(val & GICR_WAKER_ChildrenAsleep))break ;cpu_relax ();udelay (1 );
Signature · 1 line
2.4.11