From: Alan Cox Date: Wed, 30 Jan 2008 12:33:14 +0000 (+0100) Subject: x86: serverworks: IRQ routing needs no _p X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=c11b68bc8b1f7c7daaea2220e0a8d9f7d391cb8d;p=GitHub%2Fexynos8895%2Fandroid_kernel_samsung_universal8895.git x86: serverworks: IRQ routing needs no _p I can find no reason for the _p on the serverworks IRQ routing logic, and a review of the documentation contains no indication that any such delay is needed so lets try this Signed-off-by: Ingo Molnar Signed-off-by: Thomas Gleixner --- diff --git a/arch/x86/pci/irq.c b/arch/x86/pci/irq.c index ee524ca5f8c0..ed07ce6c171b 100644 --- a/arch/x86/pci/irq.c +++ b/arch/x86/pci/irq.c @@ -461,14 +461,14 @@ static int pirq_vlsi_set(struct pci_dev *router, struct pci_dev *dev, int pirq, */ static int pirq_serverworks_get(struct pci_dev *router, struct pci_dev *dev, int pirq) { - outb_p(pirq, 0xc00); + outb(pirq, 0xc00); return inb(0xc01) & 0xf; } static int pirq_serverworks_set(struct pci_dev *router, struct pci_dev *dev, int pirq, int irq) { - outb_p(pirq, 0xc00); - outb_p(irq, 0xc01); + outb(pirq, 0xc00); + outb(irq, 0xc01); return 1; }