Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 145589
b: refs/heads/master
c: 22813c4
h: refs/heads/master
i:
  145587: 7e463cc
v: v3
  • Loading branch information
Pekka Enberg authored and Ingo Molnar committed Apr 10, 2009
1 parent 00a9b22 commit b8e9b0d
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 19 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: 36290d87f5abf260a543e5b711be4ceed03e6b1a
refs/heads/master: 22813c45228160b07244a7c4ed7580388ac0f33d
40 changes: 22 additions & 18 deletions trunk/arch/x86/kernel/irqinit_32.c
Original file line number Diff line number Diff line change
Expand Up @@ -171,25 +171,8 @@ static void __init x86_quirk_pre_intr_init(void)
init_ISA_irqs();
}

void __init native_init_IRQ(void)
static void __init apic_intr_init(void)
{
int i;

/* Execute any quirks before the call gates are initialised: */
x86_quirk_pre_intr_init();

/*
* Cover the whole vector space, no vector can escape
* us. (some of these will be overridden and become
* 'special' SMP interrupts)
*/
for (i = FIRST_EXTERNAL_VECTOR; i < NR_VECTORS; i++) {
/* SYSCALL_VECTOR was reserved in trap_init. */
if (i != SYSCALL_VECTOR)
set_intr_gate(i, interrupt[i-FIRST_EXTERNAL_VECTOR]);
}


smp_intr_init();

#ifdef CONFIG_X86_LOCAL_APIC
Expand All @@ -208,6 +191,27 @@ void __init native_init_IRQ(void)
/* thermal monitor LVT interrupt */
alloc_intr_gate(THERMAL_APIC_VECTOR, thermal_interrupt);
#endif
}

void __init native_init_IRQ(void)
{
int i;

/* Execute any quirks before the call gates are initialised: */
x86_quirk_pre_intr_init();

/*
* Cover the whole vector space, no vector can escape
* us. (some of these will be overridden and become
* 'special' SMP interrupts)
*/
for (i = FIRST_EXTERNAL_VECTOR; i < NR_VECTORS; i++) {
/* SYSCALL_VECTOR was reserved in trap_init. */
if (i != SYSCALL_VECTOR)
set_intr_gate(i, interrupt[i-FIRST_EXTERNAL_VECTOR]);
}

apic_intr_init();

if (!acpi_ioapic)
setup_irq(2, &irq2);
Expand Down

0 comments on commit b8e9b0d

Please sign in to comment.