Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 85996
b: refs/heads/master
c: 7c6357d
h: refs/heads/master
v: v3
  • Loading branch information
Ahmed S. Darwish authored and Ingo Molnar committed Feb 19, 2008
1 parent f3ecff6 commit dbb016b
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 20 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: 3f85d63ea4ff922f6abdb509f4aaf6993b3273a3
refs/heads/master: 7c6357da1185d286adaa4452d829ac9b27c4d12f
25 changes: 6 additions & 19 deletions trunk/arch/x86/kernel/i8259_32.c
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,6 @@
* present in the majority of PC/AT boxes.
* plus some generic x86 specific things if generic specifics makes
* any sense at all.
* this file should become arch/i386/kernel/irq.c when the old irq.c
* moves to arch independent land
*/

static int i8259A_auto_eoi;
Expand Down Expand Up @@ -362,23 +360,12 @@ void __init init_ISA_irqs (void)
#endif
init_8259A(0);

for (i = 0; i < NR_IRQS; i++) {
irq_desc[i].status = IRQ_DISABLED;
irq_desc[i].action = NULL;
irq_desc[i].depth = 1;

if (i < 16) {
/*
* 16 old-style INTA-cycle interrupts:
*/
set_irq_chip_and_handler_name(i, &i8259A_chip,
handle_level_irq, "XT");
} else {
/*
* 'high' PCI IRQs filled in on demand
*/
irq_desc[i].chip = &no_irq_chip;
}
/*
* 16 old-style INTA-cycle interrupts:
*/
for (i = 0; i < 16; i++) {
set_irq_chip_and_handler_name(i, &i8259A_chip,
handle_level_irq, "XT");
}
}

Expand Down

0 comments on commit dbb016b

Please sign in to comment.