Message ID | 1344583395-9128-1-git-send-email-guohanjun@huawei.com (mailing list archive) |
---|---|
State | New, archived |
Delegated to: | Bjorn Helgaas |
Headers | show |
diff --git a/arch/ia64/kernel/iosapic.c b/arch/ia64/kernel/iosapic.c index ef4b5d8..11ce1ec 100644 --- a/arch/ia64/kernel/iosapic.c +++ b/arch/ia64/kernel/iosapic.c @@ -276,6 +276,9 @@ kexec_disable_iosapic(void) vec = irq_to_vector(irq); list_for_each_entry(rte, &info->rtes, rte_list) { + if (rte->refcnt == NO_REF_RTE) + continue; + iosapic_write(rte->iosapic, IOSAPIC_RTE_LOW(rte->rte_index), IOSAPIC_MASK|vec);