Skip to content

Commit

Permalink
mips: use generic show_mem()
Browse files Browse the repository at this point in the history
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().

And show_mem() does now actually print something on configurations
with multiple nodes.

Signed-off-by: Johannes Weiner <hannes@saeurebad.de>
Acked-by: Ralf Baechle <ralf@linux-mips.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
  • Loading branch information
Johannes Weiner authored and Linus Torvalds committed Jul 26, 2008
1 parent 4bad9ea commit e66ddf1
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 38 deletions.
3 changes: 1 addition & 2 deletions arch/mips/mm/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,7 @@
#

obj-y += cache.o dma-default.o extable.o fault.o \
init.o pgtable.o tlbex.o tlbex-fault.o \
uasm.o page.o
init.o tlbex.o tlbex-fault.o uasm.o page.o

obj-$(CONFIG_32BIT) += ioremap.o pgtable-32.o
obj-$(CONFIG_64BIT) += pgtable-64.o
Expand Down
36 changes: 0 additions & 36 deletions arch/mips/mm/pgtable.c

This file was deleted.

0 comments on commit e66ddf1

Please sign in to comment.