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 55/70] irqchip, irq-armada-370-xp: _FROZEN Cleanup
Date
Remove XXX_FROZEN state from irqchip/irq-armada-370-xp.

Signed-off-by: Chen, Gong <gong.chen@linux.intel.com>
---
drivers/irqchip/irq-armada-370-xp.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/irqchip/irq-armada-370-xp.c b/drivers/irqchip/irq-armada-370-xp.c
index 574aba0..1c46257 100644
--- a/drivers/irqchip/irq-armada-370-xp.c
+++ b/drivers/irqchip/irq-armada-370-xp.c
@@ -357,7 +357,7 @@ static void armada_xp_mpic_smp_cpu_init(void)
static int armada_xp_mpic_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)
armada_xp_mpic_smp_cpu_init();
return NOTIFY_OK;
}
--
2.0.0.rc2


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