multiple definition of show_mem for pxa

Jonathan Cameron jic23 at cam.ac.uk
Wed Mar 23 09:05:04 EDT 2011


Hi all

Can't immediately track down what changed to cause this issue, but
building with current mainline is giving me:

lib/lib.a(show_mem.o): In function `show_mem':
show_mem.c:(.text+0x13c): multiple definition of `show_mem'
arch/arm/mm/built-in.o:copypage-xscale.c:(.text+0xfcc): first defined here
make: *** [vmlinux.o] Error 1


Anyone know what caused this?

There are indeed two versions of mem_info, the generic one and one
in arch/arm/mm/init.c but I think they have both been around for
some time without issue.

Thanks,

Jonathan



More information about the linux-arm-kernel mailing list