Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 158623
b: refs/heads/master
c: 8e13d69
h: refs/heads/master
i:
  158621: ed98716
  158619: 6db4d2c
  158615: bc902a6
  158607: 868ff0a
  158591: ce1dbcb
v: v3
  • Loading branch information
Jeremy Fitzhardinge committed Jul 14, 2009
1 parent 1ae566d commit 12e47c2
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 8 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: 83c21bedf63ce92a2dd82ae2c7a96179b0aa4372
refs/heads/master: 8e13d697febc1ba17e70ed88789255c8bc25aa41
12 changes: 5 additions & 7 deletions trunk/arch/x86/kernel/apic/io_apic.c
Original file line number Diff line number Diff line change
Expand Up @@ -116,13 +116,6 @@ static int __init parse_noapic(char *str)
}
early_param("noapic", parse_noapic);

/*
* This is performance-critical, we want to do it O(1)
*
* the indexing order of this array favors 1:1 mappings
* between pins and IRQs.
*/

struct irq_pin_list {
int apic, pin;
struct irq_pin_list *next;
Expand All @@ -137,6 +130,11 @@ static struct irq_pin_list *get_one_free_irq_2_pin(int node)
return pin;
}

/*
* This is performance-critical, we want to do it O(1)
*
* Most irqs are mapped 1:1 with pins.
*/
struct irq_cfg {
struct irq_pin_list *irq_2_pin;
cpumask_var_t domain;
Expand Down

0 comments on commit 12e47c2

Please sign in to comment.