arch, mm: remove arch specific show_mem
authorMichal Hocko <[email protected]>
Wed, 22 Feb 2017 23:46:13 +0000 (15:46 -0800)
committerLinus Torvalds <[email protected]>
Thu, 23 Feb 2017 00:41:30 +0000 (16:41 -0800)
commit6d23f8a5d432337aa2590ea8fd5eee8b0bc28eee
tree8c52582920cc940cd6f9a6657e2357685db2828f
parenta8e99259e7e32b67af2b447f0a570813c0c283ec
arch, mm: remove arch specific show_mem

We have a generic implementation for quite some time already.  If there
is any arch specific information to be printed then we should add a
callback called from the generic code rather than duplicate the whole
show_mem.

The current code has resulted in the code duplication and the output
divergence which is both confusing and adds maintainance costs.

Let's just get rid of this mess.

Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Michal Hocko <[email protected]>
Acked-by: Guan Xuetao <[email protected]> [UniCore32]
Acked-by: Helge Deller <[email protected]> [for parisc]
Acked-by: Chris Metcalf <[email protected]> [for tile]
Acked-by: Mel Gorman <[email protected]>
Acked-by: Johannes Weiner <[email protected]>
Cc: Tony Luck <[email protected]>
Cc: Fenghua Yu <[email protected]>
Cc: "James E.J. Bottomley" <[email protected]>
Cc: "David S. Miller" <[email protected]>
Cc: Hillf Danton <[email protected]>
Cc: Vlastimil Babka <[email protected]>
Cc: David Rientjes <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
arch/ia64/mm/init.c
arch/parisc/mm/init.c
arch/sparc/mm/init_32.c
arch/tile/mm/pgtable.c
arch/unicore32/mm/init.c