Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 127365
b: refs/heads/master
c: 12b955f
h: refs/heads/master
i:
  127363: 0284a91
v: v3
  • Loading branch information
Bjorn Helgaas authored and Jesse Barnes committed Jan 7, 2009
1 parent 5866c18 commit 0c498ff
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: f672c392b9c61bcdfb1247561d404b2c3ed4b0b3
refs/heads/master: 12b955ff63db0b75cfc2d4939696c57b31891ec6
8 changes: 4 additions & 4 deletions trunk/arch/x86/pci/irq.c
Original file line number Diff line number Diff line change
Expand Up @@ -1041,16 +1041,16 @@ static void __init pcibios_fixup_irqs(void)
dev = NULL;
while ((dev = pci_get_device(PCI_ANY_ID, PCI_ANY_ID, dev)) != NULL) {
pci_read_config_byte(dev, PCI_INTERRUPT_PIN, &pin);
if (!pin)
continue;

#ifdef CONFIG_X86_IO_APIC
/*
* Recalculate IRQ numbers if we use the I/O APIC.
*/
if (io_apic_assign_pci_irqs) {
int irq;

if (!pin)
continue;

/*
* interrupt pins are numbered starting from 1
*/
Expand Down Expand Up @@ -1091,7 +1091,7 @@ static void __init pcibios_fixup_irqs(void)
/*
* Still no IRQ? Try to lookup one...
*/
if (pin && !dev->irq)
if (!dev->irq)
pcibios_lookup_irq(dev, 0);
}
}
Expand Down

0 comments on commit 0c498ff

Please sign in to comment.