diff options
| -rw-r--r-- | arch/x86/kernel/setup.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/arch/x86/kernel/setup.c b/arch/x86/kernel/setup.c index c366e891e10..31328909456 100644 --- a/arch/x86/kernel/setup.c +++ b/arch/x86/kernel/setup.c | |||
| @@ -585,8 +585,10 @@ early_param("elfcorehdr", setup_elfcorehdr); | |||
| 585 | 585 | ||
| 586 | static int __init default_update_genapic(void) | 586 | static int __init default_update_genapic(void) |
| 587 | { | 587 | { |
| 588 | #if defined(CONFIG_X86_GENERICARCH) || defined(CONFIG_X86_64) | 588 | #ifdef CONFIG_X86_SMP |
| 589 | genapic->wakeup_cpu = wakeup_secondary_cpu_via_nmi; | 589 | # if defined(CONFIG_X86_GENERICARCH) || defined(CONFIG_X86_64) |
| 590 | genapic->wakeup_cpu = wakeup_secondary_cpu_via_init; | ||
| 591 | # endif | ||
| 590 | #endif | 592 | #endif |
| 591 | 593 | ||
| 592 | return 0; | 594 | return 0; |
