[PATCH 1/7] x86: ordering functions in io_apic_32.c - fix

From: Yinghai Lu
Date: Fri Aug 15 2008 - 19:44:08 EST


add calling setup_msi_irq back to arch_setup_msi_irq

Signed-off-by: Yinghai Lu <yhlu.kernel@xxxxxxxxx>

Index: linux-2.6/arch/x86/kernel/io_apic_32.c
===================================================================
--- linux-2.6.orig/arch/x86/kernel/io_apic_32.c
+++ linux-2.6/arch/x86/kernel/io_apic_32.c
@@ -2686,7 +2695,6 @@ static unsigned int build_irq_for_pci_de

int arch_setup_msi_irq(struct pci_dev *dev, struct msi_desc *desc)
{
- struct msi_msg msg;
int irq, ret;
unsigned int irq_want;

@@ -2697,6 +2705,7 @@ int arch_setup_msi_irq(struct pci_dev *d
if (irq == 0)
return -1;

+ ret = setup_msi_irq(dev, desc, irq);
if (ret < 0) {
destroy_irq(irq);
return ret;
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/