diff options
author | David Howells <dhowells@redhat.com> | 2006-09-27 01:50:19 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-09-27 08:26:14 -0700 |
commit | dbf8685c8e21404e3a8ed244bd0219d3c4b89101 (patch) | |
tree | 716b83de856049b51abf9770840ea122b7ca3285 /include/linux/proc_fs.h | |
parent | d00c7b993712e4bb16d0012b35b654e40159b327 (diff) | |
download | linux-stable-dbf8685c8e21404e3a8ed244bd0219d3c4b89101.tar.gz linux-stable-dbf8685c8e21404e3a8ed244bd0219d3c4b89101.tar.bz2 linux-stable-dbf8685c8e21404e3a8ed244bd0219d3c4b89101.zip |
[PATCH] NOMMU: Implement /proc/pid/maps for NOMMU
Implement /proc/pid/maps for NOMMU by reading the vm_area_list attached to
current->mm->context.vmlist.
Signed-off-by: David Howells <dhowells@redhat.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'include/linux/proc_fs.h')
-rw-r--r-- | include/linux/proc_fs.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/proc_fs.h b/include/linux/proc_fs.h index 3435ca38dd14..57f70bc8b24b 100644 --- a/include/linux/proc_fs.h +++ b/include/linux/proc_fs.h @@ -268,7 +268,9 @@ static inline struct proc_dir_entry *PDE(const struct inode *inode) struct proc_maps_private { struct pid *pid; struct task_struct *task; +#ifdef CONFIG_MMU struct vm_area_struct *tail_vma; +#endif }; #endif /* _LINUX_PROC_FS_H */ |