diff options
Diffstat (limited to 'arch/x86/kernel/visws_quirks.c')
| -rw-r--r-- | arch/x86/kernel/visws_quirks.c | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/arch/x86/kernel/visws_quirks.c b/arch/x86/kernel/visws_quirks.c index a49013716da..2719091b335 100644 --- a/arch/x86/kernel/visws_quirks.c +++ b/arch/x86/kernel/visws_quirks.c | |||
| @@ -224,11 +224,10 @@ static void __init visws_find_smp_config(unsigned int reserve) | |||
| 224 | mp_lapic_addr = APIC_DEFAULT_PHYS_BASE; | 224 | mp_lapic_addr = APIC_DEFAULT_PHYS_BASE; |
| 225 | } | 225 | } |
| 226 | 226 | ||
| 227 | static int visws_trap_init(void); | 227 | static void visws_trap_init(void); |
| 228 | 228 | ||
| 229 | static struct x86_quirks visws_x86_quirks __initdata = { | 229 | static struct x86_quirks visws_x86_quirks __initdata = { |
| 230 | .arch_time_init = visws_time_init, | 230 | .arch_time_init = visws_time_init, |
| 231 | .arch_trap_init = visws_trap_init, | ||
| 232 | }; | 231 | }; |
| 233 | 232 | ||
| 234 | void __init visws_early_detect(void) | 233 | void __init visws_early_detect(void) |
| @@ -252,6 +251,7 @@ void __init visws_early_detect(void) | |||
| 252 | x86_init.mpparse.get_smp_config = visws_get_smp_config; | 251 | x86_init.mpparse.get_smp_config = visws_get_smp_config; |
| 253 | x86_init.mpparse.find_smp_config = visws_find_smp_config; | 252 | x86_init.mpparse.find_smp_config = visws_find_smp_config; |
| 254 | x86_init.irqs.pre_vector_init = visws_pre_intr_init; | 253 | x86_init.irqs.pre_vector_init = visws_pre_intr_init; |
| 254 | x86_init.irqs.trap_init = visws_trap_init; | ||
| 255 | 255 | ||
| 256 | /* | 256 | /* |
| 257 | * Install reboot quirks: | 257 | * Install reboot quirks: |
| @@ -390,12 +390,10 @@ static __init void cobalt_init(void) | |||
| 390 | co_apic_read(CO_APIC_ID)); | 390 | co_apic_read(CO_APIC_ID)); |
| 391 | } | 391 | } |
| 392 | 392 | ||
| 393 | static int __init visws_trap_init(void) | 393 | static void __init visws_trap_init(void) |
| 394 | { | 394 | { |
| 395 | lithium_init(); | 395 | lithium_init(); |
| 396 | cobalt_init(); | 396 | cobalt_init(); |
| 397 | |||
| 398 | return 1; | ||
| 399 | } | 397 | } |
| 400 | 398 | ||
| 401 | /* | 399 | /* |
