Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 158628
b: refs/heads/master
c: 638f2f8
h: refs/heads/master
v: v3
  • Loading branch information
Jeremy Fitzhardinge committed Jul 14, 2009
1 parent f07ee69 commit 73f235b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 9 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: 4eea6fff612f54380dd642b045bf03ac0613fe3e
refs/heads/master: 638f2f8c52a92c15ebda9e50d84c1ab56fc42e42
9 changes: 1 addition & 8 deletions trunk/arch/x86/kernel/apic/io_apic.c
Original file line number Diff line number Diff line change
Expand Up @@ -2236,13 +2236,9 @@ static void __target_IO_APIC_irq(unsigned int irq, unsigned int dest, struct irq
struct irq_pin_list *entry;
u8 vector = cfg->vector;

entry = cfg->irq_2_pin;
for (;;) {
for (entry = cfg->irq_2_pin; entry != NULL; entry = entry->next) {
unsigned int reg;

if (!entry)
break;

apic = entry->apic;
pin = entry->pin;
/*
Expand All @@ -2255,9 +2251,6 @@ static void __target_IO_APIC_irq(unsigned int irq, unsigned int dest, struct irq
reg &= ~IO_APIC_REDIR_VECTOR_MASK;
reg |= vector;
io_apic_modify(apic, 0x10 + pin*2, reg);
if (!entry->next)
break;
entry = entry->next;
}
}

Expand Down

0 comments on commit 73f235b

Please sign in to comment.