Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 5497
b: refs/heads/master
c: e1afc3f
h: refs/heads/master
i:
  5495: c569de1
v: v3
  • Loading branch information
Natalie.Protasevich@unisys.com authored and Linus Torvalds committed Jul 29, 2005
1 parent 1fa2a79 commit 5dc8bcf
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 2 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: 80625942094b114d85811e5ff1fbc9e06dabe0ff
refs/heads/master: e1afc3f522ed088405fc8932110d338330db82bb
10 changes: 9 additions & 1 deletion trunk/arch/i386/kernel/mpparse.c
Original file line number Diff line number Diff line change
Expand Up @@ -1116,7 +1116,15 @@ int mp_register_gsi (u32 gsi, int edge_level, int active_high_low)
*/
int irq = gsi;
if (gsi < MAX_GSI_NUM) {
gsi = pci_irq++;
if (gsi > 15)
gsi = pci_irq++;
#ifdef CONFIG_ACPI_BUS
/*
* Don't assign IRQ used by ACPI SCI
*/
if (gsi == acpi_fadt.sci_int)
gsi = pci_irq++;
#endif
gsi_to_irq[irq] = gsi;
} else {
printk(KERN_ERR "GSI %u is too high\n", gsi);
Expand Down

0 comments on commit 5dc8bcf

Please sign in to comment.