summaryrefslogtreecommitdiffstats
path: root/fs/proc
diff options
context:
space:
mode:
authorHugh Dickins <hughd@google.com>2013-01-02 11:04:23 +0100
committerLinus Torvalds <torvalds@linux-foundation.org>2013-01-02 18:27:10 +0100
commita7a88b23737095e6c18a20c5d4eef9e25ec5b829 (patch)
treeda6000487d0a1e4694fd760ac55467bce091e854 /fs/proc
parenttmpfs mempolicy: fix /proc/mounts corrupting memory (diff)
downloadlinux-a7a88b23737095e6c18a20c5d4eef9e25ec5b829.tar.xz
linux-a7a88b23737095e6c18a20c5d4eef9e25ec5b829.zip
mempolicy: remove arg from mpol_parse_str, mpol_to_str
Remove the unused argument (formerly no_context) from mpol_parse_str() and from mpol_to_str(). Signed-off-by: Hugh Dickins <hughd@google.com> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'fs/proc')
-rw-r--r--fs/proc/task_mmu.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/proc/task_mmu.c b/fs/proc/task_mmu.c
index 448455b7fd91..ca5ce7f9f800 100644
--- a/fs/proc/task_mmu.c
+++ b/fs/proc/task_mmu.c
@@ -1278,7 +1278,7 @@ static int show_numa_map(struct seq_file *m, void *v, int is_pid)
walk.mm = mm;
pol = get_vma_policy(task, vma, vma->vm_start);
- mpol_to_str(buffer, sizeof(buffer), pol, 0);
+ mpol_to_str(buffer, sizeof(buffer), pol);
mpol_cond_put(pol);
seq_printf(m, "%08lx %s", vma->vm_start, buffer);