[RFC PATCH v1 34/70] kernel, softirq: _FROZEN Cleanup
From: Chen, Gong
Date: Tue Jul 22 2014 - 22:35:19 EST
Remove XXX_FROZEN state from kernel/softirq.
Signed-off-by: Chen, Gong <gong.chen@xxxxxxxxxxxxxxx>
---
kernel/softirq.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/kernel/softirq.c b/kernel/softirq.c
index 5918d22..c4d4484 100644
--- a/kernel/softirq.c
+++ b/kernel/softirq.c
@@ -726,10 +726,9 @@ static void takeover_tasklets(unsigned int cpu)
static int cpu_callback(struct notifier_block *nfb, unsigned long action,
void *hcpu)
{
- switch (action) {
+ switch (action & ~CPU_TASKS_FROZEN) {
#ifdef CONFIG_HOTPLUG_CPU
case CPU_DEAD:
- case CPU_DEAD_FROZEN:
takeover_tasklets((unsigned long)hcpu);
break;
#endif /* CONFIG_HOTPLUG_CPU */
--
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/