aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86/include/asm
diff options
context:
space:
mode:
authorThomas Gleixner <tglx@linutronix.de>2009-08-20 04:35:46 -0400
committerThomas Gleixner <tglx@linutronix.de>2009-08-31 03:35:45 -0400
commit428cf9025b15573e16e658032f2b963283e34ae0 (patch)
treefc4620e8b7965bb191b0cebd879eaa53ede5bdda /arch/x86/include/asm
parent66bcaf0bde100a4b54b82fc6fea6ceee2212ffb4 (diff)
x86: Move traps_init to x86_init_ops
Replace the quirks by a simple x86_init_ops function. Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'arch/x86/include/asm')
-rw-r--r--arch/x86/include/asm/setup.h3
-rw-r--r--arch/x86/include/asm/x86_init.h2
2 files changed, 2 insertions, 3 deletions
diff --git a/arch/x86/include/asm/setup.h b/arch/x86/include/asm/setup.h
index 404086f9411c..7751d1f92bc9 100644
--- a/arch/x86/include/asm/setup.h
+++ b/arch/x86/include/asm/setup.h
@@ -16,11 +16,8 @@
16struct x86_quirks { 16struct x86_quirks {
17 int (*arch_pre_time_init)(void); 17 int (*arch_pre_time_init)(void);
18 int (*arch_time_init)(void); 18 int (*arch_time_init)(void);
19 int (*arch_trap_init)(void);
20}; 19};
21 20
22extern void x86_quirk_trap_init(void);
23
24extern void x86_quirk_pre_time_init(void); 21extern void x86_quirk_pre_time_init(void);
25extern void x86_quirk_time_init(void); 22extern void x86_quirk_time_init(void);
26 23
diff --git a/arch/x86/include/asm/x86_init.h b/arch/x86/include/asm/x86_init.h
index 8d7be65ccf7f..07c37bd879f8 100644
--- a/arch/x86/include/asm/x86_init.h
+++ b/arch/x86/include/asm/x86_init.h
@@ -48,10 +48,12 @@ struct x86_init_resources {
48 * @pre_vector_init: init code to run before interrupt vectors 48 * @pre_vector_init: init code to run before interrupt vectors
49 * are set up. 49 * are set up.
50 * @intr_init: interrupt init code 50 * @intr_init: interrupt init code
51 * @trap_init: platform specific trap setup
51 */ 52 */
52struct x86_init_irqs { 53struct x86_init_irqs {
53 void (*pre_vector_init)(void); 54 void (*pre_vector_init)(void);
54 void (*intr_init)(void); 55 void (*intr_init)(void);
56 void (*trap_init)(void);
55}; 57};
56 58
57/** 59/**