diff options
Diffstat (limited to 'arch/x86_64')
-rw-r--r-- | arch/x86_64/ia32/ia32_binfmt.c | 2 | ||||
-rw-r--r-- | arch/x86_64/kernel/vsyscall.c | 2 | ||||
-rw-r--r-- | arch/x86_64/mm/init.c | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/arch/x86_64/ia32/ia32_binfmt.c b/arch/x86_64/ia32/ia32_binfmt.c index 354a0a01ec2d..071100ea1251 100644 --- a/arch/x86_64/ia32/ia32_binfmt.c +++ b/arch/x86_64/ia32/ia32_binfmt.c | |||
@@ -367,7 +367,7 @@ static ctl_table abi_root_table2[] = { | |||
367 | 367 | ||
368 | static __init int ia32_binfmt_init(void) | 368 | static __init int ia32_binfmt_init(void) |
369 | { | 369 | { |
370 | register_sysctl_table(abi_root_table2, 0); | 370 | register_sysctl_table(abi_root_table2); |
371 | return 0; | 371 | return 0; |
372 | } | 372 | } |
373 | __initcall(ia32_binfmt_init); | 373 | __initcall(ia32_binfmt_init); |
diff --git a/arch/x86_64/kernel/vsyscall.c b/arch/x86_64/kernel/vsyscall.c index c0e2b48be308..313dc6ad780b 100644 --- a/arch/x86_64/kernel/vsyscall.c +++ b/arch/x86_64/kernel/vsyscall.c | |||
@@ -301,7 +301,7 @@ static int __init vsyscall_init(void) | |||
301 | BUG_ON((unsigned long) &vgetcpu != VSYSCALL_ADDR(__NR_vgetcpu)); | 301 | BUG_ON((unsigned long) &vgetcpu != VSYSCALL_ADDR(__NR_vgetcpu)); |
302 | map_vsyscall(); | 302 | map_vsyscall(); |
303 | #ifdef CONFIG_SYSCTL | 303 | #ifdef CONFIG_SYSCTL |
304 | register_sysctl_table(kernel_root_table2, 0); | 304 | register_sysctl_table(kernel_root_table2); |
305 | #endif | 305 | #endif |
306 | on_each_cpu(cpu_vsyscall_init, NULL, 0, 1); | 306 | on_each_cpu(cpu_vsyscall_init, NULL, 0, 1); |
307 | hotcpu_notifier(cpu_vsyscall_notifier, 0); | 307 | hotcpu_notifier(cpu_vsyscall_notifier, 0); |
diff --git a/arch/x86_64/mm/init.c b/arch/x86_64/mm/init.c index a5c12ea57683..ec31534eb104 100644 --- a/arch/x86_64/mm/init.c +++ b/arch/x86_64/mm/init.c | |||
@@ -734,7 +734,7 @@ static ctl_table debug_root_table2[] = { | |||
734 | 734 | ||
735 | static __init int x8664_sysctl_init(void) | 735 | static __init int x8664_sysctl_init(void) |
736 | { | 736 | { |
737 | register_sysctl_table(debug_root_table2, 0); | 737 | register_sysctl_table(debug_root_table2); |
738 | return 0; | 738 | return 0; |
739 | } | 739 | } |
740 | __initcall(x8664_sysctl_init); | 740 | __initcall(x8664_sysctl_init); |