powerpc: use generic show_mem()
authorJohannes Weiner <hannes@saeurebad.de>
Sat, 26 Jul 2008 02:46:14 +0000 (19:46 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Sat, 26 Jul 2008 19:00:11 +0000 (12:00 -0700)
commitbda2fa535564ace56a395d5b65c6dc81305401fa
tree4013ab798e0c42b93d7cf8f2cd16c6c6003c79c4
parentc55281dee09a843dd6bf5070324b86b84847e6ea
powerpc: use generic show_mem()

Remove arch-specific show_mem() in favor of the generic version.

This also removes the following redundant information display:

- pages in swapcache, printed by show_swap_cache_info()

where show_mem() calls show_free_areas(), which calls
show_swap_cache_info().

Signed-off-by: Johannes Weiner <hannes@saeurebad.de>
Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Cc: Paul Mackerras <paulus@samba.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
arch/powerpc/mm/mem.c