]> err.no Git - linux-2.6/commit
um: use generic show_mem()
authorJohannes Weiner <hannes@saeurebad.de>
Sat, 26 Jul 2008 02:46:12 +0000 (19:46 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Sat, 26 Jul 2008 19:00:10 +0000 (12:00 -0700)
commit79b0cbd113a9de1eaa3322528ccaeb97bd9189cc
tree650bfdad8ca79b1c55053aff7b321b582067bd85
parent8dad322f5449010c14990dd6934878f576b2ee60
um: use generic show_mem()

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

This also removes the following redundant information display:

- free swap pages, printed by show_swap_cache_info()
- 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>
Acked-by: Jeff Dike <jdike@addtoit.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
arch/um/kernel/mem.c