[RFC PATCH v1 47/70] block, blk-iopoll: _FROZEN Cleanup

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


Remove XXX_FROZEN state from block/blk-iopoll.

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

diff --git a/block/blk-iopoll.c b/block/blk-iopoll.c
index 0736729..ba88c82 100644
--- a/block/blk-iopoll.c
+++ b/block/blk-iopoll.c
@@ -193,7 +193,7 @@ static int blk_iopoll_cpu_notify(struct notifier_block *self,
* 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/