Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 145592
b: refs/heads/master
c: 598c73d
h: refs/heads/master
v: v3
  • Loading branch information
Pekka Enberg authored and Ingo Molnar committed Apr 10, 2009
1 parent 40bc339 commit f804fc1
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 6 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: b0096bb0b640d0a7713618b3472fd0f4adf30a96
refs/heads/master: 598c73d250ffb112715aa48fb325d79e255be23b
2 changes: 1 addition & 1 deletion trunk/arch/x86/kernel/irqinit_32.c
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ static void __init init_ISA_irqs(void)
{
int i;

#ifdef CONFIG_X86_LOCAL_APIC
#if defined(CONFIG_X86_64) || defined(CONFIG_X86_LOCAL_APIC)
init_bsp_APIC();
#endif
init_8259A(0);
Expand Down
10 changes: 6 additions & 4 deletions trunk/arch/x86/kernel/irqinit_64.c
Original file line number Diff line number Diff line change
Expand Up @@ -84,21 +84,23 @@ static void __init init_ISA_irqs(void)
{
int i;

#if defined(CONFIG_X86_64) || defined(CONFIG_X86_LOCAL_APIC)
init_bsp_APIC();
#endif
init_8259A(0);

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

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

/*
* 16 old-style INTA-cycle interrupts:
*/
set_irq_chip_and_handler_name(i, &i8259A_chip,
handle_level_irq, "XT");
handle_level_irq, "XT");
}
}

Expand Down

0 comments on commit f804fc1

Please sign in to comment.