aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/proc_fs.h
diff options
context:
space:
mode:
authorMatt Mackall <mpm@selenic.com>2008-02-05 01:29:03 -0500
committerLinus Torvalds <torvalds@woody.linux-foundation.org>2008-02-05 12:44:16 -0500
commitf248dcb34d7b7ac255db70071a20be9d9c6ad491 (patch)
treeec7c7fb115e40b4a337af98a6f9f2ad5db9af1f0 /include/linux/proc_fs.h
parent4752c369789250eafcd7813e11c8fb689235b0d2 (diff)
maps4: move clear_refs code to task_mmu.c
This puts all the clear_refs code where it belongs and probably lets things compile on MMU-less systems as well. Signed-off-by: Matt Mackall <mpm@selenic.com> Cc: Jeremy Fitzhardinge <jeremy@goop.org> Cc: David Rientjes <rientjes@google.com> Cc: Dave Hansen <haveblue@us.ibm.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'include/linux/proc_fs.h')
-rw-r--r--include/linux/proc_fs.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/linux/proc_fs.h b/include/linux/proc_fs.h
index 8f92546b403d..e43551516831 100644
--- a/include/linux/proc_fs.h
+++ b/include/linux/proc_fs.h
@@ -19,6 +19,8 @@ struct completion;
19 */ 19 */
20#define FIRST_PROCESS_ENTRY 256 20#define FIRST_PROCESS_ENTRY 256
21 21
22/* Worst case buffer size needed for holding an integer. */
23#define PROC_NUMBUF 13
22 24
23/* 25/*
24 * We always define these enumerators 26 * We always define these enumerators
@@ -117,7 +119,6 @@ int proc_pid_readdir(struct file * filp, void * dirent, filldir_t filldir);
117unsigned long task_vsize(struct mm_struct *); 119unsigned long task_vsize(struct mm_struct *);
118int task_statm(struct mm_struct *, int *, int *, int *, int *); 120int task_statm(struct mm_struct *, int *, int *, int *, int *);
119char *task_mem(struct mm_struct *, char *); 121char *task_mem(struct mm_struct *, char *);
120void clear_refs_smap(struct mm_struct *mm);
121 122
122struct proc_dir_entry *de_get(struct proc_dir_entry *de); 123struct proc_dir_entry *de_get(struct proc_dir_entry *de);
123void de_put(struct proc_dir_entry *de); 124void de_put(struct proc_dir_entry *de);