Skip to content

Commit

Permalink
[PATCH] sysctl: x86_64: remove unnecessary use of insert_at_head
Browse files Browse the repository at this point in the history
The only sysctl x86_64 provides are not provided elsewhere, so insert_at_head
is unnecessary.

Signed-off-by: Eric W. Biederman <ebiederm@xmission.com>
Acked-by: Andi Kleen <ak@suse.de>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
  • Loading branch information
Eric W. Biederman authored and Linus Torvalds committed Feb 14, 2007
1 parent e3c6449 commit f385451
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion arch/x86_64/ia32/ia32_binfmt.c
Original file line number Diff line number Diff line change
Expand Up @@ -357,7 +357,7 @@ static ctl_table abi_root_table2[] = {

static __init int ia32_binfmt_init(void)
{
register_sysctl_table(abi_root_table2, 1);
register_sysctl_table(abi_root_table2, 0);
return 0;
}
__initcall(ia32_binfmt_init);
Expand Down
2 changes: 1 addition & 1 deletion arch/x86_64/mm/init.c
Original file line number Diff line number Diff line change
Expand Up @@ -724,7 +724,7 @@ static ctl_table debug_root_table2[] = {

static __init int x8664_sysctl_init(void)
{
register_sysctl_table(debug_root_table2, 1);
register_sysctl_table(debug_root_table2, 0);
return 0;
}
__initcall(x8664_sysctl_init);
Expand Down

0 comments on commit f385451

Please sign in to comment.