提交 a33dac26 编写于 作者: J Jens Axboe

block: use interrupts disabled version of raise_softirq_irqoff()

We already have interrupts disabled at that point, so use the
__raise_softirq_irqoff() variant.
Signed-off-by: NJens Axboe <jens.axboe@oracle.com>
上级 fca51d64
......@@ -202,7 +202,7 @@ static int __cpuinit blk_iopoll_cpu_notify(struct notifier_block *self,
local_irq_disable();
list_splice_init(&per_cpu(blk_cpu_iopoll, cpu),
&__get_cpu_var(blk_cpu_iopoll));
raise_softirq_irqoff(BLOCK_IOPOLL_SOFTIRQ);
__raise_softirq_irqoff(BLOCK_IOPOLL_SOFTIRQ);
local_irq_enable();
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册