OSDN Git Service
(root)
/
android-x86
/
kernel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
proc: remove mm_for_maps()
[android-x86/kernel.git]
/
fs
/
proc
/
task_nommu.c
diff --git
a/fs/proc/task_nommu.c
b/fs/proc/task_nommu.c
index
74fe164
..
1ccfa53
100644
(file)
--- a/
fs/proc/task_nommu.c
+++ b/
fs/proc/task_nommu.c
@@
-223,7
+223,7
@@
static void *m_start(struct seq_file *m, loff_t *pos)
if (!priv->task)
return ERR_PTR(-ESRCH);
- mm = mm_
for_maps(priv->task
);
+ mm = mm_
access(priv->task, PTRACE_MODE_READ
);
if (!mm || IS_ERR(mm)) {
put_task_struct(priv->task);
priv->task = NULL;