aboutsummaryrefslogtreecommitdiffstats
path: root/include/asm-x86/setup.h
diff options
context:
space:
mode:
authorYinghai Lu <yhlu.kernel@gmail.com>2008-07-19 05:07:25 -0400
committerIngo Molnar <mingo@elte.hu>2008-07-20 03:18:17 -0400
commit3c9cb6de1e5ad37d1558fdb0d9d2bed5a7bac0d9 (patch)
treef579e0c0a09c6df7fc0fbf6e8008920eec325e2b /include/asm-x86/setup.h
parent5f1f2b3d9dbaee82cd532f28da459adcbf611499 (diff)
x86: introduce x86_quirks
introduce x86_quirks array of boot-time quirk methods. No change in functionality intended. Signed-off-by: Yinghai Lu <yhlu.kernel@gmail.com> Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'include/asm-x86/setup.h')
-rw-r--r--include/asm-x86/setup.h18
1 files changed, 11 insertions, 7 deletions
diff --git a/include/asm-x86/setup.h b/include/asm-x86/setup.h
index 90ab2225e71b..66191d0de3c9 100644
--- a/include/asm-x86/setup.h
+++ b/include/asm-x86/setup.h
@@ -19,13 +19,17 @@ static inline int is_visws_box(void) { return 0; }
19/* 19/*
20 * Any setup quirks to be performed? 20 * Any setup quirks to be performed?
21 */ 21 */
22extern int (*arch_time_init_quirk)(void); 22struct x86_quirks {
23extern int (*arch_pre_intr_init_quirk)(void); 23 int (*arch_time_init)(void);
24extern int (*arch_intr_init_quirk)(void); 24 int (*arch_pre_intr_init)(void);
25extern int (*arch_trap_init_quirk)(void); 25 int (*arch_intr_init)(void);
26extern char * (*arch_memory_setup_quirk)(void); 26 int (*arch_trap_init)(void);
27extern int (*mach_get_smp_config_quirk)(unsigned int early); 27 char * (*arch_memory_setup)(void);
28extern int (*mach_find_smp_config_quirk)(unsigned int reserve); 28 int (*mach_get_smp_config)(unsigned int early);
29 int (*mach_find_smp_config)(unsigned int reserve);
30};
31
32extern struct x86_quirks *x86_quirks;
29 33
30#ifndef CONFIG_PARAVIRT 34#ifndef CONFIG_PARAVIRT
31#define paravirt_post_allocator_init() do {} while (0) 35#define paravirt_post_allocator_init() do {} while (0)