summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--arch/x86/pci/vmd.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/x86/pci/vmd.c b/arch/x86/pci/vmd.c
index b1662bf17937..3519a1578752 100644
--- a/arch/x86/pci/vmd.c
+++ b/arch/x86/pci/vmd.c
@@ -135,6 +135,7 @@ static void vmd_irq_disable(struct irq_data *data)
raw_spin_lock(&list_lock);
list_del_rcu(&vmdirq->node);
+ INIT_LIST_HEAD_RCU(&vmdirq->node);
raw_spin_unlock(&list_lock);
}