|
@@ -2249,7 +2249,7 @@ static const struct pid_entry tgid_base_stuff[] = {
|
|
|
LNK("exe", exe),
|
|
|
REG("mounts", S_IRUGO, mounts),
|
|
|
REG("mountstats", S_IRUSR, mountstats),
|
|
|
-#ifdef CONFIG_MMU
|
|
|
+#ifdef CONFIG_PROC_PAGE_MONITOR
|
|
|
REG("clear_refs", S_IWUSR, clear_refs),
|
|
|
REG("smaps", S_IRUGO, smaps),
|
|
|
REG("pagemap", S_IRUSR, pagemap),
|
|
@@ -2578,7 +2578,7 @@ static const struct pid_entry tid_base_stuff[] = {
|
|
|
LNK("root", root),
|
|
|
LNK("exe", exe),
|
|
|
REG("mounts", S_IRUGO, mounts),
|
|
|
-#ifdef CONFIG_MMU
|
|
|
+#ifdef CONFIG_PROC_PAGE_MONITOR
|
|
|
REG("clear_refs", S_IWUSR, clear_refs),
|
|
|
REG("smaps", S_IRUGO, smaps),
|
|
|
REG("pagemap", S_IRUSR, pagemap),
|