Commit f2beb7983613ecca20a61604f01ab50cc7a797e6
Committed by
Linus Torvalds
1 parent
f69ff943df
Exists in
master
and in
7 other branches
proc: make struct proc_maps_private truly private
Now that mm/mempolicy.c is no longer implementing /proc/pid/numa_maps there is no need to export struct proc_maps_private to the world. Move it to fs/proc/internal.h instead. Signed-off-by: Stephen Wilson <wilsons@start.ca> Reviewed-by: KOSAKI Motohiro <kosaki.motohiro@jp.fujitsu.com> Cc: Hugh Dickins <hughd@google.com> Cc: David Rientjes <rientjes@google.com> Cc: Lee Schermerhorn <lee.schermerhorn@hp.com> Cc: Alexey Dobriyan <adobriyan@gmail.com> Cc: Christoph Lameter <cl@linux-foundation.org> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Showing 2 changed files with 8 additions and 8 deletions Side-by-side Diff
fs/proc/internal.h
... | ... | @@ -61,6 +61,14 @@ |
61 | 61 | extern const struct file_operations proc_net_operations; |
62 | 62 | extern const struct inode_operations proc_net_inode_operations; |
63 | 63 | |
64 | +struct proc_maps_private { | |
65 | + struct pid *pid; | |
66 | + struct task_struct *task; | |
67 | +#ifdef CONFIG_MMU | |
68 | + struct vm_area_struct *tail_vma; | |
69 | +#endif | |
70 | +}; | |
71 | + | |
64 | 72 | void proc_init_inodecache(void); |
65 | 73 | |
66 | 74 | static inline struct pid *proc_pid(struct inode *inode) |
include/linux/proc_fs.h