Commit f3854517 authored by Eric W. Biederman's avatar Eric W. Biederman Committed by Linus Torvalds

[PATCH] sysctl: x86_64: remove unnecessary use of insert_at_head

The only sysctl x86_64 provides are not provided elsewhere, so insert_at_head
is unnecessary.
Signed-off-by: default avatarEric W. Biederman <ebiederm@xmission.com>
Acked-by: default avatarAndi Kleen <ak@suse.de>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent e3c6449d
...@@ -357,7 +357,7 @@ static ctl_table abi_root_table2[] = { ...@@ -357,7 +357,7 @@ static ctl_table abi_root_table2[] = {
static __init int ia32_binfmt_init(void) static __init int ia32_binfmt_init(void)
{ {
register_sysctl_table(abi_root_table2, 1); register_sysctl_table(abi_root_table2, 0);
return 0; return 0;
} }
__initcall(ia32_binfmt_init); __initcall(ia32_binfmt_init);
......
...@@ -724,7 +724,7 @@ static ctl_table debug_root_table2[] = { ...@@ -724,7 +724,7 @@ static ctl_table debug_root_table2[] = {
static __init int x8664_sysctl_init(void) static __init int x8664_sysctl_init(void)
{ {
register_sysctl_table(debug_root_table2, 1); register_sysctl_table(debug_root_table2, 0);
return 0; return 0;
} }
__initcall(x8664_sysctl_init); __initcall(x8664_sysctl_init);
......
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