Răsfoiți Sursa

[PATCH] sysctl: frv: remove unnecessary insert_at_head flag

Since the binary sysctl numbers are unique putting the registered sysctls at
the head of the sysctl list where they can override existing sysctls serves no
useful purpose.

Signed-off-by: Eric W. Biederman <ebiederm@xmission.com>
Acked-by: David Howells <dhowells@redhat.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Eric W. Biederman 19 ani în urmă
părinte
comite
c8d1a1ac16
1 a modificat fișierele cu 1 adăugiri și 1 ștergeri
  1. 1 1
      arch/frv/kernel/sysctl.c

+ 1 - 1
arch/frv/kernel/sysctl.c

@@ -197,7 +197,7 @@ static struct ctl_table frv_dir_table[] =
  */
 static int __init frv_sysctl_init(void)
 {
-	register_sysctl_table(frv_dir_table, 1);
+	register_sysctl_table(frv_dir_table, 0);
 	return 0;
 }