[RFC PATCH v1 45/70] net, core, dev: _FROZEN Cleanup

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


Remove XXX_FROZEN state from net/core/dev.

Signed-off-by: Chen, Gong <gong.chen@xxxxxxxxxxxxxxx>
---
net/core/dev.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net/core/dev.c b/net/core/dev.c
index 7990984..2c3801a 100644
--- a/net/core/dev.c
+++ b/net/core/dev.c
@@ -6805,7 +6805,7 @@ static int dev_cpu_callback(struct notifier_block *nfb,
unsigned int cpu, oldcpu = (unsigned long)ocpu;
struct softnet_data *sd, *oldsd;

- if (action != CPU_DEAD && action != CPU_DEAD_FROZEN)
+ if ((action & ~CPU_TASKS_FROZEN) != CPU_DEAD)
return NOTIFY_OK;

local_irq_disable();
--
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/