diff options
author | Thomas Gleixner <tglx@linutronix.de> | 2009-08-20 03:41:38 -0400 |
---|---|---|
committer | Thomas Gleixner <tglx@linutronix.de> | 2009-08-31 03:35:45 -0400 |
commit | d9112f43021554ded2ef2b9bea5f88ba4b52abe0 (patch) | |
tree | 40d8f33402f18af494549af8e9ee1a2f83fc2736 /arch/x86/kernel/x86_init.c | |
parent | b3f1b617f49447df6c3f5fac9c225aaea8b724ea (diff) |
x86: Move pre_intr_init to x86_init_ops
Replace the quirk machinery by a x86_init_ops function which
defaults to the standard implementation. This is also a preparatory
patch for Moorestown support which needs to replace the default
init_ISA_irqs as well.
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'arch/x86/kernel/x86_init.c')
-rw-r--r-- | arch/x86/kernel/x86_init.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/arch/x86/kernel/x86_init.c b/arch/x86/kernel/x86_init.c index 3488fb62ac03..f2abe2136da1 100644 --- a/arch/x86/kernel/x86_init.c +++ b/arch/x86/kernel/x86_init.c | |||
@@ -9,6 +9,7 @@ | |||
9 | #include <asm/mpspec.h> | 9 | #include <asm/mpspec.h> |
10 | #include <asm/setup.h> | 10 | #include <asm/setup.h> |
11 | #include <asm/e820.h> | 11 | #include <asm/e820.h> |
12 | #include <asm/irq.h> | ||
12 | 13 | ||
13 | void __cpuinit x86_init_noop(void) { } | 14 | void __cpuinit x86_init_noop(void) { } |
14 | void __init x86_init_uint_noop(unsigned int unused) { } | 15 | void __init x86_init_uint_noop(unsigned int unused) { } |
@@ -35,4 +36,8 @@ struct __initdata x86_init_ops x86_init = { | |||
35 | .find_smp_config = default_find_smp_config, | 36 | .find_smp_config = default_find_smp_config, |
36 | .get_smp_config = default_get_smp_config, | 37 | .get_smp_config = default_get_smp_config, |
37 | }, | 38 | }, |
39 | |||
40 | .irqs = { | ||
41 | .pre_vector_init = init_ISA_irqs, | ||
42 | }, | ||
38 | }; | 43 | }; |