lkml.org 
[lkml]   [2014]   [Jul]   [22]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
Subject[RFC PATCH v1 56/70] irqchip, irq-gic: _FROZEN Cleanup
Date
Remove XXX_FROZEN state from irqchip/irq-gic.

Signed-off-by: Chen, Gong <gong.chen@linux.intel.com>
---
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


\
 
 \ /
  Last update: 2014-07-23 05:21    [W:0.307 / U:1.232 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site