diff options
author | Ingo Molnar <mingo@elte.hu> | 2008-07-10 11:30:40 -0400 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2008-07-10 12:55:31 -0400 |
commit | 3b33553badcde952adcf3b3ba5faae38d7d85071 (patch) | |
tree | e6f20de95b23a54689776e772ad25561ae109b69 /include/asm-x86 | |
parent | 520b9617ab4aea764ddfc5d58cae21c16b3318e1 (diff) |
x86: add early quirk support
Add early quirks support.
In preparation of enabling the generic architecture to boot on a VISWS.
This will allow us to remove the VISWS subarch and all its complications.
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'include/asm-x86')
-rw-r--r-- | include/asm-x86/setup.h | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/include/asm-x86/setup.h b/include/asm-x86/setup.h index 1d121c632d9e..1ad7eae0d9be 100644 --- a/include/asm-x86/setup.h +++ b/include/asm-x86/setup.h | |||
@@ -8,6 +8,23 @@ | |||
8 | /* Interrupt control for vSMPowered x86_64 systems */ | 8 | /* Interrupt control for vSMPowered x86_64 systems */ |
9 | void vsmp_init(void); | 9 | void vsmp_init(void); |
10 | 10 | ||
11 | #ifdef CONFIG_X86_VISWS | ||
12 | extern void visws_early_detect(void); | ||
13 | #else | ||
14 | static inline void visws_early_detect(void) { } | ||
15 | #endif | ||
16 | |||
17 | /* | ||
18 | * Any setup quirks to be performed? | ||
19 | */ | ||
20 | extern int (*arch_time_init_quirk)(void); | ||
21 | extern int (*arch_pre_intr_init_quirk)(void); | ||
22 | extern int (*arch_intr_init_quirk)(void); | ||
23 | extern int (*arch_trap_init_quirk)(void); | ||
24 | extern char * (*arch_memory_setup_quirk)(void); | ||
25 | extern int (*mach_get_smp_config_quirk)(unsigned int early); | ||
26 | extern int (*mach_find_smp_config_quirk)(unsigned int reserve); | ||
27 | |||
11 | #ifndef CONFIG_PARAVIRT | 28 | #ifndef CONFIG_PARAVIRT |
12 | #define paravirt_post_allocator_init() do {} while (0) | 29 | #define paravirt_post_allocator_init() do {} while (0) |
13 | #endif | 30 | #endif |