ソースを参照

[PATCH] sysctl: frv: pm remove unnecessary insert_at_head flag

With unique binary numbers setting insert_at_head to insert yourself at the
head of sysctl list and thus override existing sysctl entries serves no point.

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 18 年 前
コミット
febe1c2579
1 ファイル変更1 行追加1 行削除
  1. 1 1
      arch/frv/kernel/pm.c

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

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