diff options
Diffstat (limited to 'include/asm-x86/setup.h')
-rw-r--r-- | include/asm-x86/setup.h | 18 |
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 | */ |
22 | extern int (*arch_time_init_quirk)(void); | 22 | struct x86_quirks { |
23 | extern int (*arch_pre_intr_init_quirk)(void); | 23 | int (*arch_time_init)(void); |
24 | extern int (*arch_intr_init_quirk)(void); | 24 | int (*arch_pre_intr_init)(void); |
25 | extern int (*arch_trap_init_quirk)(void); | 25 | int (*arch_intr_init)(void); |
26 | extern char * (*arch_memory_setup_quirk)(void); | 26 | int (*arch_trap_init)(void); |
27 | extern int (*mach_get_smp_config_quirk)(unsigned int early); | 27 | char * (*arch_memory_setup)(void); |
28 | extern 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 | |||
32 | extern 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) |