Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 186959
b: refs/heads/master
c: 1f91233
h: refs/heads/master
i:
  186957: fc81fdb
  186955: c976ab2
  186951: 8b69fc1
  186943: 841bd9b
v: v3
  • Loading branch information
Jacob Pan authored and H. Peter Anvin committed Feb 20, 2010
1 parent 04444e1 commit d3a47eb
Show file tree
Hide file tree
Showing 3 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: b81bb373a7e832a43921356aa1291044d7f52fb1
refs/heads/master: 1f91233c26fd5f7d6525fd29b95e4b50ca7a3e88
2 changes: 0 additions & 2 deletions trunk/arch/x86/include/asm/io_apic.h
Original file line number Diff line number Diff line change
Expand Up @@ -143,8 +143,6 @@ extern int noioapicreroute;
/* 1 if the timer IRQ uses the '8259A Virtual Wire' mode */
extern int timer_through_8259;

extern void io_apic_disable_legacy(void);

/*
* If we use the IO-APIC for IRQ routing, disable automatic
* assignment of PCI IRQ's.
Expand Down
10 changes: 5 additions & 5 deletions trunk/arch/x86/kernel/apic/io_apic.c
Original file line number Diff line number Diff line change
Expand Up @@ -143,11 +143,6 @@ static struct irq_cfg irq_cfgx[NR_IRQS_LEGACY];
static struct irq_cfg irq_cfgx[NR_IRQS];
#endif

void __init io_apic_disable_legacy(void)
{
nr_irqs_gsi = 0;
}

int __init arch_early_irq_init(void)
{
struct irq_cfg *cfg;
Expand All @@ -156,6 +151,11 @@ int __init arch_early_irq_init(void)
int node;
int i;

if (!legacy_pic->nr_legacy_irqs) {
nr_irqs_gsi = 0;
io_apic_irqs = ~0UL;
}

cfg = irq_cfgx;
count = ARRAY_SIZE(irq_cfgx);
node= cpu_to_node(boot_cpu_id);
Expand Down

0 comments on commit d3a47eb

Please sign in to comment.