summaryrefslogtreecommitdiffstats
path: root/fs/proc/internal.h
diff options
context:
space:
mode:
authorMatt Mackall <mpm@selenic.com>2008-02-04 22:29:03 -0800
committerLinus Torvalds <torvalds@woody.linux-foundation.org>2008-02-05 09:44:16 -0800
commitf248dcb34d7b7ac255db70071a20be9d9c6ad491 (patch)
treeec7c7fb115e40b4a337af98a6f9f2ad5db9af1f0 /fs/proc/internal.h
parent4752c369789250eafcd7813e11c8fb689235b0d2 (diff)
downloadop-kernel-dev-f248dcb34d7b7ac255db70071a20be9d9c6ad491.zip
op-kernel-dev-f248dcb34d7b7ac255db70071a20be9d9c6ad491.tar.gz
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 'fs/proc/internal.h')
-rw-r--r--fs/proc/internal.h6
1 files changed, 1 insertions, 5 deletions
diff --git a/fs/proc/internal.h b/fs/proc/internal.h
index 05b3e90..ddfaeec3 100644
--- a/fs/proc/internal.h
+++ b/fs/proc/internal.h
@@ -56,11 +56,7 @@ extern int proc_pid_statm(struct task_struct *, char *);
extern const struct file_operations proc_maps_operations;
extern const struct file_operations proc_numa_maps_operations;
extern const struct file_operations proc_smaps_operations;
-
-extern const struct file_operations proc_maps_operations;
-extern const struct file_operations proc_numa_maps_operations;
-extern const struct file_operations proc_smaps_operations;
-
+extern const struct file_operations proc_clear_refs_operations;
void free_proc_entry(struct proc_dir_entry *de);
OpenPOWER on IntegriCloud