Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 145587
b: refs/heads/master
c: 7371d9f
h: refs/heads/master
i:
  145585: 6d34b6d
  145583: 3bd2342
v: v3
  • Loading branch information
Pekka Enberg authored and Ingo Molnar committed Apr 10, 2009
1 parent 66e1d4b commit 7e463cc
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 25 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: f465145235313c451164bdfa9037ac254bf00c9a
refs/heads/master: 7371d9fcb88dc9185be9719f64744a339c537a92
48 changes: 24 additions & 24 deletions trunk/arch/x86/kernel/irqinit_32.c
Original file line number Diff line number Diff line change
Expand Up @@ -53,30 +53,6 @@ static struct irqaction fpu_irq = {
.name = "fpu",
};

static void __init init_ISA_irqs(void)
{
int i;

#ifdef 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;

set_irq_chip_and_handler_name(i, &i8259A_chip,
handle_level_irq, "XT");
}
}

/*
* IRQ2 is cascade interrupt to second interrupt controller
*/
Expand Down Expand Up @@ -118,6 +94,30 @@ int vector_used_by_percpu_irq(unsigned int vector)
return 0;
}

static void __init init_ISA_irqs(void)
{
int i;

#ifdef 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;

set_irq_chip_and_handler_name(i, &i8259A_chip,
handle_level_irq, "XT");
}
}

/* Overridden in paravirt.c */
void init_IRQ(void) __attribute__((weak, alias("native_init_IRQ")));

Expand Down

0 comments on commit 7e463cc

Please sign in to comment.