diff options
author | Eric W. Biederman <ebiederm@xmission.com> | 2007-02-14 03:33:49 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-02-14 11:09:57 -0500 |
commit | f3854517f3b4cf372d3d5a2a71969c9b26090b7a (patch) | |
tree | dd2e102d3a314619f3142a8ae58ae8bfd1df65da /arch/x86_64 | |
parent | e3c6449dcdfa023ca45b7ef1f7dce102f34f25ad (diff) |
[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: 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>
Diffstat (limited to 'arch/x86_64')
-rw-r--r-- | arch/x86_64/ia32/ia32_binfmt.c | 2 | ||||
-rw-r--r-- | arch/x86_64/mm/init.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/arch/x86_64/ia32/ia32_binfmt.c b/arch/x86_64/ia32/ia32_binfmt.c index 6efe04f3cbca..44c83be70e08 100644 --- a/arch/x86_64/ia32/ia32_binfmt.c +++ b/arch/x86_64/ia32/ia32_binfmt.c | |||
@@ -357,7 +357,7 @@ static ctl_table abi_root_table2[] = { | |||
357 | 357 | ||
358 | static __init int ia32_binfmt_init(void) | 358 | static __init int ia32_binfmt_init(void) |
359 | { | 359 | { |
360 | register_sysctl_table(abi_root_table2, 1); | 360 | register_sysctl_table(abi_root_table2, 0); |
361 | return 0; | 361 | return 0; |
362 | } | 362 | } |
363 | __initcall(ia32_binfmt_init); | 363 | __initcall(ia32_binfmt_init); |
diff --git a/arch/x86_64/mm/init.c b/arch/x86_64/mm/init.c index 2968b90ef8ad..65aa66c35295 100644 --- a/arch/x86_64/mm/init.c +++ b/arch/x86_64/mm/init.c | |||
@@ -724,7 +724,7 @@ static ctl_table debug_root_table2[] = { | |||
724 | 724 | ||
725 | static __init int x8664_sysctl_init(void) | 725 | static __init int x8664_sysctl_init(void) |
726 | { | 726 | { |
727 | register_sysctl_table(debug_root_table2, 1); | 727 | register_sysctl_table(debug_root_table2, 0); |
728 | return 0; | 728 | return 0; |
729 | } | 729 | } |
730 | __initcall(x8664_sysctl_init); | 730 | __initcall(x8664_sysctl_init); |