提交 503112f4 编写于 作者: O Olaf Hering 提交者: Wei Liu

PCI: hv: update comment in x86 specific hv_arch_irq_unmask

The function hv_set_affinity was removed in commit 831c1ae7 ("PCI: hv:
Make the code arch neutral by adding arch specific interfaces").
Signed-off-by: NOlaf Hering <olaf@aepfle.de>
Link: https://lore.kernel.org/r/20221107171831.25283-1-olaf@aepfle.deSigned-off-by: NWei Liu <wei.liu@kernel.org>
上级 fce444fa
...@@ -735,9 +735,9 @@ static void hv_arch_irq_unmask(struct irq_data *data) ...@@ -735,9 +735,9 @@ static void hv_arch_irq_unmask(struct irq_data *data)
* during hibernation does not matter (at this time all the devices * during hibernation does not matter (at this time all the devices
* have been frozen). Note: the correct affinity info is still updated * have been frozen). Note: the correct affinity info is still updated
* into the irqdata data structure in migrate_one_irq() -> * into the irqdata data structure in migrate_one_irq() ->
* irq_do_set_affinity() -> hv_set_affinity(), so later when the VM * irq_do_set_affinity(), so later when the VM resumes,
* resumes, hv_pci_restore_msi_state() is able to correctly restore * hv_pci_restore_msi_state() is able to correctly restore the
* the interrupt with the correct affinity. * interrupt with the correct affinity.
*/ */
if (!hv_result_success(res) && hbus->state != hv_pcibus_removing) if (!hv_result_success(res) && hbus->state != hv_pcibus_removing)
dev_err(&hbus->hdev->device, dev_err(&hbus->hdev->device,
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册