aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/proc_fs.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux/proc_fs.h')
-rw-r--r--include/linux/proc_fs.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/include/linux/proc_fs.h b/include/linux/proc_fs.h
index d4d2081dbaf7..4c7271f04697 100644
--- a/include/linux/proc_fs.h
+++ b/include/linux/proc_fs.h
@@ -246,7 +246,7 @@ extern void kclist_add(struct kcore_list *, void *, size_t);
246#endif 246#endif
247 247
248struct proc_inode { 248struct proc_inode {
249 struct task_struct *task; 249 struct task_ref *tref;
250 int fd; 250 int fd;
251 union { 251 union {
252 int (*proc_get_link)(struct inode *, struct dentry **, struct vfsmount **); 252 int (*proc_get_link)(struct inode *, struct dentry **, struct vfsmount **);
@@ -266,4 +266,10 @@ static inline struct proc_dir_entry *PDE(const struct inode *inode)
266 return PROC_I(inode)->pde; 266 return PROC_I(inode)->pde;
267} 267}
268 268
269struct proc_maps_private {
270 struct task_ref *tref;
271 struct task_struct *task;
272 struct vm_area_struct *tail_vma;
273};
274
269#endif /* _LINUX_PROC_FS_H */ 275#endif /* _LINUX_PROC_FS_H */