Commit 6b3d1a95 authored by Andi Kleen's avatar Andi Kleen Committed by Linus Torvalds

[PATCH] x86-64: Fix vsyscall.c compilation on UP

Broken by earlier patch by me.
Signed-off-by: default avatarAndi Kleen <ak@suse.de>
Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
parent 237ee312
...@@ -274,6 +274,7 @@ static void __cpuinit cpu_vsyscall_init(void *arg) ...@@ -274,6 +274,7 @@ static void __cpuinit cpu_vsyscall_init(void *arg)
vsyscall_set_cpu(raw_smp_processor_id()); vsyscall_set_cpu(raw_smp_processor_id());
} }
#ifdef CONFIG_HOTPLUG_CPU
static int __cpuinit static int __cpuinit
cpu_vsyscall_notifier(struct notifier_block *n, unsigned long action, void *arg) cpu_vsyscall_notifier(struct notifier_block *n, unsigned long action, void *arg)
{ {
...@@ -282,6 +283,7 @@ cpu_vsyscall_notifier(struct notifier_block *n, unsigned long action, void *arg) ...@@ -282,6 +283,7 @@ cpu_vsyscall_notifier(struct notifier_block *n, unsigned long action, void *arg)
smp_call_function_single(cpu, cpu_vsyscall_init, NULL, 0, 1); smp_call_function_single(cpu, cpu_vsyscall_init, NULL, 0, 1);
return NOTIFY_DONE; return NOTIFY_DONE;
} }
#endif
static void __init map_vsyscall(void) static void __init map_vsyscall(void)
{ {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment