[RFC PATCH v1 45/70] net, core, dev: _FROZEN Cleanup
From: Chen, Gong
Date: Tue Jul 22 2014 - 22:36:43 EST
- Next message: Chen, Gong: "[RFC PATCH v1 46/70] block, blk-mq: _FROZEN Cleanup"
- Previous message: Chen, Gong: "[RFC PATCH v1 44/70] net, core, flow: _FROZEN Cleanup"
- In reply to: Chen, Gong: "[RFC PATCH v1 44/70] net, core, flow: _FROZEN Cleanup"
- Next in thread: Chen, Gong: "[RFC PATCH v1 46/70] block, blk-mq: _FROZEN Cleanup"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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/
- Next message: Chen, Gong: "[RFC PATCH v1 46/70] block, blk-mq: _FROZEN Cleanup"
- Previous message: Chen, Gong: "[RFC PATCH v1 44/70] net, core, flow: _FROZEN Cleanup"
- In reply to: Chen, Gong: "[RFC PATCH v1 44/70] net, core, flow: _FROZEN Cleanup"
- Next in thread: Chen, Gong: "[RFC PATCH v1 46/70] block, blk-mq: _FROZEN Cleanup"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]