[RFC PATCH v1 48/70] block, blk-softirq: _FROZEN Cleanup
From: Chen, Gong
Date: Tue Jul 22 2014 - 22:37:07 EST
- Next message: Chen, Gong: "[RFC PATCH v1 49/70] driver, base, topology: _FROZEN Cleanup"
- Previous message: Chen, Gong: "[RFC PATCH v1 47/70] block, blk-iopoll: _FROZEN Cleanup"
- In reply to: Chen, Gong: "[RFC PATCH v1 47/70] block, blk-iopoll: _FROZEN Cleanup"
- Next in thread: Chen, Gong: "[RFC PATCH v1 49/70] driver, base, topology: _FROZEN Cleanup"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Remove XXX_FROZEN state from block/blk-softirq.
Signed-off-by: Chen, Gong <gong.chen@xxxxxxxxxxxxxxx>
---
block/blk-softirq.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/block/blk-softirq.c b/block/blk-softirq.c
index 53b1737..3ab9c2e 100644
--- a/block/blk-softirq.c
+++ b/block/blk-softirq.c
@@ -85,7 +85,7 @@ static int blk_cpu_notify(struct notifier_block *self, unsigned long action,
* If a CPU goes away, splice its entries to the current CPU
* and trigger a run of the softirq
*/
- if (action == CPU_DEAD || action == CPU_DEAD_FROZEN) {
+ if ((action & ~CPU_TASKS_FROZEN) == CPU_DEAD) {
int cpu = (unsigned long) hcpu;
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 49/70] driver, base, topology: _FROZEN Cleanup"
- Previous message: Chen, Gong: "[RFC PATCH v1 47/70] block, blk-iopoll: _FROZEN Cleanup"
- In reply to: Chen, Gong: "[RFC PATCH v1 47/70] block, blk-iopoll: _FROZEN Cleanup"
- Next in thread: Chen, Gong: "[RFC PATCH v1 49/70] driver, base, topology: _FROZEN Cleanup"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]