diff options
| author | Kai Germaschewski <kai@tp1.ruhr-uni-bochum.de> | 2002-12-29 13:51:34 -0600 |
|---|---|---|
| committer | Kai Germaschewski <kai@tp1.ruhr-uni-bochum.de> | 2002-12-29 13:51:34 -0600 |
| commit | f5a46614de328e867f778e4dffa71b48eb29340f (patch) | |
| tree | e20250a27ae5dbeb927a7d085cd7dc162aa829e5 /fs/proc/array.c | |
| parent | 8f99d72cc9359b80ef6c50a00ad098c78ac035ed (diff) | |
| parent | bec7aa00ffe5b1270837b965fdfe80be3e8e6e2e (diff) | |
Merge tp1.ruhr-uni-bochum.de:/home/kai/kernel/v2.5/linux-2.5
into tp1.ruhr-uni-bochum.de:/home/kai/kernel/v2.5/linux-2.5.make
Diffstat (limited to 'fs/proc/array.c')
| -rw-r--r-- | fs/proc/array.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/fs/proc/array.c b/fs/proc/array.c index 2fa25e95712d..4dae164bc85a 100644 --- a/fs/proc/array.c +++ b/fs/proc/array.c @@ -513,8 +513,9 @@ static int proc_pid_maps_get_line (char *buf, struct vm_area_struct *map) return len; } -ssize_t proc_pid_read_maps (struct task_struct *task, struct file * file, char * buf, - size_t count, loff_t *ppos) +#ifdef CONFIG_MMU +ssize_t proc_pid_read_maps(struct task_struct *task, struct file *file, + char *buf, size_t count, loff_t *ppos) { struct mm_struct *mm; struct vm_area_struct * map; @@ -597,3 +598,4 @@ out_free1: out: return retval; } +#endif /* CONFIG_MMU */ |
