diff options
author | Ingo Molnar <mingo@elte.hu> | 2009-01-28 11:50:18 -0500 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2009-01-28 17:20:37 -0500 |
commit | 328386d7ab600aa0993a1226f5817ac30a735724 (patch) | |
tree | 884f3504d57f1a88c51768140abb91a1abb9bf05 /arch/x86/kernel/setup.c | |
parent | 1f75ed0c1311a50ed393bcac258de65680d360e5 (diff) |
x86, smp: refactor ->wake_cpu
- remove macro wrappers
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'arch/x86/kernel/setup.c')
-rw-r--r-- | arch/x86/kernel/setup.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/arch/x86/kernel/setup.c b/arch/x86/kernel/setup.c index a58e9f5e6030..6b27f6dc7bf7 100644 --- a/arch/x86/kernel/setup.c +++ b/arch/x86/kernel/setup.c | |||
@@ -589,9 +589,8 @@ early_param("elfcorehdr", setup_elfcorehdr); | |||
589 | static int __init default_update_genapic(void) | 589 | static int __init default_update_genapic(void) |
590 | { | 590 | { |
591 | #ifdef CONFIG_X86_SMP | 591 | #ifdef CONFIG_X86_SMP |
592 | # if defined(CONFIG_X86_GENERICARCH) || defined(CONFIG_X86_64) | 592 | if (!apic->wakeup_cpu) |
593 | apic->wakeup_cpu = wakeup_secondary_cpu_via_init; | 593 | apic->wakeup_cpu = wakeup_secondary_cpu_via_init; |
594 | # endif | ||
595 | #endif | 594 | #endif |
596 | 595 | ||
597 | return 0; | 596 | return 0; |