Selaa lähdekoodia

[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>
Eric W. Biederman 18 vuotta sitten
vanhempi
commit
f3854517f3
2 muutettua tiedostoa jossa 2 lisäystä ja 2 poistoa
  1. 1 1
      arch/x86_64/ia32/ia32_binfmt.c
  2. 1 1
      arch/x86_64/mm/init.c

+ 1 - 1
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);

+ 1 - 1
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);