[RFC PATCH v1 56/70] irqchip, irq-gic: _FROZEN Cleanup

From: Chen, Gong
Date: Tue Jul 22 2014 - 22:42:42 EST


Remove XXX_FROZEN state from irqchip/irq-gic.

Signed-off-by: Chen, Gong <gong.chen@xxxxxxxxxxxxxxx>
---
drivers/irqchip/irq-gic.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/irqchip/irq-gic.c b/drivers/irqchip/irq-gic.c
index 7c131cf..a8df097 100644
--- a/drivers/irqchip/irq-gic.c
+++ b/drivers/irqchip/irq-gic.c
@@ -877,7 +877,7 @@ static int gic_irq_domain_xlate(struct irq_domain *d,
static int gic_secondary_init(struct notifier_block *nfb, unsigned long action,
void *hcpu)
{
- if (action == CPU_STARTING || action == CPU_STARTING_FROZEN)
+ if ((action & ~CPU_TASKS_FROZEN) == CPU_STARTING)
gic_cpu_init(&gic_data[0]);
return NOTIFY_OK;
}
--
2.0.0.rc2

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/