From: Dan Willemsen Date: Wed, 18 Mar 2015 18:22:44 +0000 (-0700) Subject: fixup! proc: make oom adjustment files user read-only X-Git-Tag: firefly_0821_release~2958^2~152 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=87a7a2cfbe48c29e48ed846d939f82d710780d99;p=firefly-linux-kernel-4.4.55.git fixup! proc: make oom adjustment files user read-only Fix the build by removing the duplicate line that uses the obsolete INF macro. Signed-off-by: Dan Willemsen --- diff --git a/fs/proc/base.c b/fs/proc/base.c index e2902398f680..3b6962c52965 100644 --- a/fs/proc/base.c +++ b/fs/proc/base.c @@ -2793,7 +2793,6 @@ static const struct pid_entry tgid_base_stuff[] = { ONE("cgroup", S_IRUGO, proc_cgroup_show), #endif ONE("oom_score", S_IRUGO, proc_oom_score), - INF("oom_score", S_IRUGO, proc_oom_score), REG("oom_adj", S_IRUSR, proc_oom_adj_operations), REG("oom_score_adj", S_IRUSR, proc_oom_score_adj_operations), #ifdef CONFIG_AUDITSYSCALL