aboutsummaryrefslogtreecommitdiffstats
path: root/fs/proc/array.c
diff options
context:
space:
mode:
Diffstat (limited to 'fs/proc/array.c')
-rw-r--r--fs/proc/array.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/proc/array.c b/fs/proc/array.c
index 3f57dac31ba6..ce065cf3104f 100644
--- a/fs/proc/array.c
+++ b/fs/proc/array.c
@@ -577,7 +577,7 @@ int proc_pid_statm(struct seq_file *m, struct pid_namespace *ns,
577 return 0; 577 return 0;
578} 578}
579 579
580#ifdef CONFIG_CHECKPOINT_RESTORE 580#ifdef CONFIG_PROC_CHILDREN
581static struct pid * 581static struct pid *
582get_children_pid(struct inode *inode, struct pid *pid_prev, loff_t pos) 582get_children_pid(struct inode *inode, struct pid *pid_prev, loff_t pos)
583{ 583{
@@ -700,4 +700,4 @@ const struct file_operations proc_tid_children_operations = {
700 .llseek = seq_lseek, 700 .llseek = seq_lseek,
701 .release = children_seq_release, 701 .release = children_seq_release,
702}; 702};
703#endif /* CONFIG_CHECKPOINT_RESTORE */ 703#endif /* CONFIG_PROC_CHILDREN */