mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-25 05:04:09 +08:00
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: Jens Axboe <jens.axboe@oracle.com>
This commit is contained in:
parent
fca51d64c5
commit
a33dac26d4
@ -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();
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user