diff options
author | Cyrill Gorcunov <gorcunov@gmail.com> | 2008-08-11 10:34:08 -0400 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2008-08-11 10:43:09 -0400 |
commit | 2ae111cdd8d83ebf9de72e36e68a8c84b6ebbeea (patch) | |
tree | 0ca28a5869a172d0c76caa3ad8271524cc0a733b /arch/x86/mach-default | |
parent | 15dd859cacf312f606f54502d1f66537a1e5c78c (diff) |
x86: apic interrupts - move assignments to irqinit_32.c, v2
64bit mode APIC interrupt handlers are set within irqinit_64.c.
Lets do tha same for 32bit mode which would help in furter code merging.
Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'arch/x86/mach-default')
-rw-r--r-- | arch/x86/mach-default/setup.c | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/arch/x86/mach-default/setup.c b/arch/x86/mach-default/setup.c index 3d317836be9e..b00f5ad10ca1 100644 --- a/arch/x86/mach-default/setup.c +++ b/arch/x86/mach-default/setup.c | |||
@@ -36,15 +36,6 @@ void __init pre_intr_init_hook(void) | |||
36 | init_ISA_irqs(); | 36 | init_ISA_irqs(); |
37 | } | 37 | } |
38 | 38 | ||
39 | /* | ||
40 | * IRQ2 is cascade interrupt to second interrupt controller | ||
41 | */ | ||
42 | static struct irqaction irq2 = { | ||
43 | .handler = no_action, | ||
44 | .mask = CPU_MASK_NONE, | ||
45 | .name = "cascade", | ||
46 | }; | ||
47 | |||
48 | /** | 39 | /** |
49 | * intr_init_hook - post gate setup interrupt initialisation | 40 | * intr_init_hook - post gate setup interrupt initialisation |
50 | * | 41 | * |
@@ -60,12 +51,6 @@ void __init intr_init_hook(void) | |||
60 | if (x86_quirks->arch_intr_init()) | 51 | if (x86_quirks->arch_intr_init()) |
61 | return; | 52 | return; |
62 | } | 53 | } |
63 | #ifdef CONFIG_X86_LOCAL_APIC | ||
64 | apic_intr_init(); | ||
65 | #endif | ||
66 | |||
67 | if (!acpi_ioapic) | ||
68 | setup_irq(2, &irq2); | ||
69 | } | 54 | } |
70 | 55 | ||
71 | /** | 56 | /** |