diff options
Diffstat (limited to 'fs/proc/base.c')
-rw-r--r-- | fs/proc/base.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/proc/base.c b/fs/proc/base.c index 9004db04efa0..cd9f84c4bbf5 100644 --- a/fs/proc/base.c +++ b/fs/proc/base.c | |||
@@ -2249,7 +2249,7 @@ static const struct pid_entry tgid_base_stuff[] = { | |||
2249 | LNK("exe", exe), | 2249 | LNK("exe", exe), |
2250 | REG("mounts", S_IRUGO, mounts), | 2250 | REG("mounts", S_IRUGO, mounts), |
2251 | REG("mountstats", S_IRUSR, mountstats), | 2251 | REG("mountstats", S_IRUSR, mountstats), |
2252 | #ifdef CONFIG_MMU | 2252 | #ifdef CONFIG_PROC_PAGE_MONITOR |
2253 | REG("clear_refs", S_IWUSR, clear_refs), | 2253 | REG("clear_refs", S_IWUSR, clear_refs), |
2254 | REG("smaps", S_IRUGO, smaps), | 2254 | REG("smaps", S_IRUGO, smaps), |
2255 | REG("pagemap", S_IRUSR, pagemap), | 2255 | REG("pagemap", S_IRUSR, pagemap), |
@@ -2578,7 +2578,7 @@ static const struct pid_entry tid_base_stuff[] = { | |||
2578 | LNK("root", root), | 2578 | LNK("root", root), |
2579 | LNK("exe", exe), | 2579 | LNK("exe", exe), |
2580 | REG("mounts", S_IRUGO, mounts), | 2580 | REG("mounts", S_IRUGO, mounts), |
2581 | #ifdef CONFIG_MMU | 2581 | #ifdef CONFIG_PROC_PAGE_MONITOR |
2582 | REG("clear_refs", S_IWUSR, clear_refs), | 2582 | REG("clear_refs", S_IWUSR, clear_refs), |
2583 | REG("smaps", S_IRUGO, smaps), | 2583 | REG("smaps", S_IRUGO, smaps), |
2584 | REG("pagemap", S_IRUSR, pagemap), | 2584 | REG("pagemap", S_IRUSR, pagemap), |