Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 212179
b: refs/heads/master
c: 011d578
h: refs/heads/master
i:
  212177: 593c578
  212175: 735fd6e
v: v3
  • Loading branch information
Thomas Gleixner committed Oct 12, 2010
1 parent bb6b297 commit 035ff36
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 14 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: 39431acb1a4c464e62471cb3058b8ffffb9244db
refs/heads/master: 011d578fdadb64bcc1deedbb02216bfee6a9b4dc
17 changes: 4 additions & 13 deletions trunk/arch/x86/kernel/irqinit.c
Original file line number Diff line number Diff line change
Expand Up @@ -100,26 +100,17 @@ int vector_used_by_percpu_irq(unsigned int vector)

void __init init_ISA_irqs(void)
{
struct irq_chip *chip = legacy_pic->chip;
const char *name = chip->name;
int i;

#if defined(CONFIG_X86_64) || defined(CONFIG_X86_LOCAL_APIC)
init_bsp_APIC();
#endif
legacy_pic->init(0);

/*
* 16 old-style INTA-cycle interrupts:
*/
for (i = 0; i < legacy_pic->nr_legacy_irqs; i++) {
struct irq_desc *desc = irq_to_desc(i);

desc->status = IRQ_DISABLED;
desc->action = NULL;
desc->depth = 1;

set_irq_chip_and_handler_name(i, &i8259A_chip,
handle_level_irq, "XT");
}
for (i = 0; i < legacy_pic->nr_legacy_irqs; i++)
set_irq_chip_and_handler_name(i, chip, handle_level_irq, name);
}

void __init init_IRQ(void)
Expand Down

0 comments on commit 035ff36

Please sign in to comment.