]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
[PATCH] sysctl: x86_64: remove unnecessary use of insert_at_head
authorEric W. Biederman <ebiederm@xmission.com>
Wed, 14 Feb 2007 08:33:49 +0000 (00:33 -0800)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Wed, 14 Feb 2007 16:09:57 +0000 (08:09 -0800)
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>
arch/x86_64/ia32/ia32_binfmt.c
arch/x86_64/mm/init.c

index 6efe04f3cbca8601bd39605d8e2085290953b73c..44c83be70e082a85b45fbb27f462c7cfe5c530fb 100644 (file)
@@ -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);
index 2968b90ef8adfec3d0316a3ef7b8d8e49628284d..65aa66c35295a986ae7a25895d1dd467b3fba0bd 100644 (file)
@@ -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);