OSDN Git Service
(root)
/
android-x86
/
kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
55541f1
)
fixup! proc: make oom adjustment files user read-only
author
Dan Willemsen
<dwillemsen@nvidia.com>
Wed, 18 Mar 2015 18:22:44 +0000
(11:22 -0700)
committer
John Stultz
<john.stultz@linaro.org>
Tue, 16 Feb 2016 21:53:50 +0000
(13:53 -0800)
Fix the build by removing the duplicate line that uses the obsolete INF
macro.
Signed-off-by: Dan Willemsen <dwillemsen@nvidia.com>
fs/proc/base.c
patch
|
blob
|
history
diff --git
a/fs/proc/base.c
b/fs/proc/base.c
index
e290239
..
3b6962c
100644
(file)
--- 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