x86: use generic show_mem()
authorJohannes Weiner <hannes@saeurebad.de>
Sat, 26 Jul 2008 02:46:11 +0000 (19:46 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Sat, 26 Jul 2008 19:00:10 +0000 (12:00 -0700)
commit8dad322f5449010c14990dd6934878f576b2ee60
treee3a58650bc7d81cd055dc851eae7c34903f67619
parent47221222a59a565e11954c078a2cf6a07a7e690e
x86: 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()
- dirty pages, writeback pages, mapped pages, slab pages,
  pagetable pages, printed by show_free_areas()

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

Signed-off-by: Johannes Weiner <hannes@saeurebad.de>
Acked-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
arch/x86/mm/init_64.c
arch/x86/mm/pgtable_32.c