linux_dsm_epyc7002/arch/tile/mm
David Rientjes b2b755b5f1 lib, arch: add filter argument to show_mem and fix private implementations
Commit ddd588b5dd ("oom: suppress nodes that are not allowed from
meminfo on oom kill") moved lib/show_mem.o out of lib/lib.a, which
resulted in build warnings on all architectures that implement their own
versions of show_mem():

	lib/lib.a(show_mem.o): In function `show_mem':
	show_mem.c:(.text+0x1f4): multiple definition of `show_mem'
	arch/sparc/mm/built-in.o:(.text+0xd70): first defined here

The fix is to remove __show_mem() and add its argument to show_mem() in
all implementations to prevent this breakage.

Architectures that implement their own show_mem() actually don't do
anything with the argument yet, but they could be made to filter nodes
that aren't allowed in the current context in the future just like the
generic implementation.

Reported-by: Stephen Rothwell <sfr@canb.auug.org.au>
Reported-by: James Bottomley <James.Bottomley@hansenpartnership.com>
Suggested-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: David Rientjes <rientjes@google.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2011-03-24 17:49:37 -07:00
..
elf.c arch/tile: Miscellaneous cleanup changes. 2010-07-06 13:41:51 -04:00
extable.c arch/tile: core support for Tilera 32-bit chips. 2010-06-04 17:11:18 -04:00
fault.c arch/tile: fix some comments and whitespace 2011-03-10 13:14:03 -05:00
highmem.c arch/tile: complete migration to new kmap_atomic scheme 2010-11-01 15:30:36 -04:00
homecache.c arch/tile: support 4KB page size as well as 64KB 2011-03-10 13:17:53 -05:00
hugetlbpage.c BKL: remove extraneous #include <smp_lock.h> 2010-11-17 08:59:32 -08:00
init.c arch/tile: support 4KB page size as well as 64KB 2011-03-10 13:17:53 -05:00
Makefile arch/tile: core support for Tilera 32-bit chips. 2010-06-04 17:11:18 -04:00
migrate_32.S arch/tile: support 4KB page size as well as 64KB 2011-03-10 13:17:53 -05:00
migrate.h arch/tile: core support for Tilera 32-bit chips. 2010-06-04 17:11:18 -04:00
mmap.c arch/tile: core support for Tilera 32-bit chips. 2010-06-04 17:11:18 -04:00
pgtable.c lib, arch: add filter argument to show_mem and fix private implementations 2011-03-24 17:49:37 -07:00