lkml.org 
[lkml]   [2014]   [Jul]   [22]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
Subject[RFC PATCH v1 47/70] block, blk-iopoll: _FROZEN Cleanup
Date
Remove XXX_FROZEN state from block/blk-iopoll.

Signed-off-by: Chen, Gong <gong.chen@linux.intel.com>
---
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


\
 
 \ /
  Last update: 2014-07-23 06:43    [W:0.393 / U:0.260 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site