diff options
Diffstat (limited to 'arch/x86/kernel/vsyscall_64.c')
-rw-r--r-- | arch/x86/kernel/vsyscall_64.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/arch/x86/kernel/vsyscall_64.c b/arch/x86/kernel/vsyscall_64.c index 1f96f9347ed9..556eaf2a3555 100644 --- a/arch/x86/kernel/vsyscall_64.c +++ b/arch/x86/kernel/vsyscall_64.c | |||
@@ -393,9 +393,13 @@ static int __init vsyscall_init(void) | |||
393 | { | 393 | { |
394 | BUG_ON(VSYSCALL_ADDR(0) != __fix_to_virt(VSYSCALL_FIRST_PAGE)); | 394 | BUG_ON(VSYSCALL_ADDR(0) != __fix_to_virt(VSYSCALL_FIRST_PAGE)); |
395 | 395 | ||
396 | cpu_notifier_register_begin(); | ||
397 | |||
396 | on_each_cpu(cpu_vsyscall_init, NULL, 1); | 398 | on_each_cpu(cpu_vsyscall_init, NULL, 1); |
397 | /* notifier priority > KVM */ | 399 | /* notifier priority > KVM */ |
398 | hotcpu_notifier(cpu_vsyscall_notifier, 30); | 400 | __hotcpu_notifier(cpu_vsyscall_notifier, 30); |
401 | |||
402 | cpu_notifier_register_done(); | ||
399 | 403 | ||
400 | return 0; | 404 | return 0; |
401 | } | 405 | } |