Browse Source

[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 năm trước cách đây
mục cha
commit
c8d1a1ac16
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  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;
 }