diff options
author | Paul Mundt <lethal@linux-sh.org> | 2009-08-13 04:48:01 +0200 |
---|---|---|
committer | Paul Mundt <lethal@linux-sh.org> | 2009-08-13 04:48:01 +0200 |
commit | e290861f99131fc42d98012a9ea2dc185f08f8f9 (patch) | |
tree | 5c8b92d095d74d03b281711c81bac54bd59989cd /fs/proc/task_nommu.c | |
parent | sh: clean up Migo-R header file (diff) | |
parent | sh: fix i2c init order on ap325rxa V2 (diff) | |
download | linux-e290861f99131fc42d98012a9ea2dc185f08f8f9.tar.xz linux-e290861f99131fc42d98012a9ea2dc185f08f8f9.zip |
Merge branch 'sh/stable-updates'
Diffstat (limited to 'fs/proc/task_nommu.c')
-rw-r--r-- | fs/proc/task_nommu.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/proc/task_nommu.c b/fs/proc/task_nommu.c index 64a72e2e7650..8f5c05d3dbd3 100644 --- a/fs/proc/task_nommu.c +++ b/fs/proc/task_nommu.c @@ -189,6 +189,7 @@ static void *m_start(struct seq_file *m, loff_t *pos) priv->task = NULL; return NULL; } + down_read(&mm->mmap_sem); /* start from the Nth VMA */ for (p = rb_first(&mm->mm_rb); p; p = rb_next(p)) |