From: Eric W. Biederman Date: Wed, 14 Feb 2007 08:33:49 +0000 (-0800) Subject: [PATCH] sysctl: x86_64: remove unnecessary use of insert_at_head X-Git-Tag: v2.6.21-rc1~210 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=f3854517f3b4cf372d3d5a2a71969c9b26090b7a;p=linux-2.6-omap-h63xx.git [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 Acked-by: Andi Kleen Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- diff --git a/arch/x86_64/ia32/ia32_binfmt.c b/arch/x86_64/ia32/ia32_binfmt.c index 6efe04f3cbc..44c83be70e0 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[] = { 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); diff --git a/arch/x86_64/mm/init.c b/arch/x86_64/mm/init.c index 2968b90ef8a..65aa66c3529 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[] = { 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);