diff options
Diffstat (limited to 'arch')
-rw-r--r-- | arch/x86_64/kernel/vsyscall.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/x86_64/kernel/vsyscall.c b/arch/x86_64/kernel/vsyscall.c index a730bacecb0b..92546c1526f1 100644 --- a/arch/x86_64/kernel/vsyscall.c +++ b/arch/x86_64/kernel/vsyscall.c | |||
@@ -274,6 +274,7 @@ static void __cpuinit cpu_vsyscall_init(void *arg) | |||
274 | vsyscall_set_cpu(raw_smp_processor_id()); | 274 | vsyscall_set_cpu(raw_smp_processor_id()); |
275 | } | 275 | } |
276 | 276 | ||
277 | #ifdef CONFIG_HOTPLUG_CPU | ||
277 | static int __cpuinit | 278 | static int __cpuinit |
278 | cpu_vsyscall_notifier(struct notifier_block *n, unsigned long action, void *arg) | 279 | cpu_vsyscall_notifier(struct notifier_block *n, unsigned long action, void *arg) |
279 | { | 280 | { |
@@ -282,6 +283,7 @@ cpu_vsyscall_notifier(struct notifier_block *n, unsigned long action, void *arg) | |||
282 | smp_call_function_single(cpu, cpu_vsyscall_init, NULL, 0, 1); | 283 | smp_call_function_single(cpu, cpu_vsyscall_init, NULL, 0, 1); |
283 | return NOTIFY_DONE; | 284 | return NOTIFY_DONE; |
284 | } | 285 | } |
286 | #endif | ||
285 | 287 | ||
286 | static void __init map_vsyscall(void) | 288 | static void __init map_vsyscall(void) |
287 | { | 289 | { |