maps4: simplify interdependence of maps and smaps
authorMatt Mackall <mpm@selenic.com>
Tue, 5 Feb 2008 06:29:02 +0000 (22:29 -0800)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Tue, 5 Feb 2008 17:44:16 +0000 (09:44 -0800)
commit4752c369789250eafcd7813e11c8fb689235b0d2
tree24fda864f4962f18fd8e118271f1d8c4ec633024
parentb3ae5acbbb98d95c1300c8ced56d15f97d09c506
maps4: simplify interdependence of maps and smaps

This pulls the shared map display code out of show_map and puts it in
show_smap where it belongs.

Signed-off-by: Matt Mackall <mpm@selenic.com>
Cc: Jeremy Fitzhardinge <jeremy@goop.org>
Acked-by: David Rientjes <rientjes@google.com>
Cc: Dave Hansen <haveblue@us.ibm.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
fs/proc/task_mmu.c