The patch titled Subject: powerpc/mm: fix undefined reference to `.__kernel_map_pages' on FSL PPC64 has been added to the -mm tree. Its filename is powerpc-mm-fix-undefined-reference-to-__kernel_map_pages-on-fsl-ppc64.patch This patch should soon appear at http://ozlabs.org/~akpm/mmots/broken-out/powerpc-mm-fix-undefined-reference-to-__kernel_map_pages-on-fsl-ppc64.patch and later at http://ozlabs.org/~akpm/mmotm/broken-out/powerpc-mm-fix-undefined-reference-to-__kernel_map_pages-on-fsl-ppc64.patch Before you just go and hit "reply", please: a) Consider who else should be cc'ed b) Prefer to cc a suitable mailing list as well c) Ideally: find the original patch on the mailing list and do a reply-to-all to that, adding suitable additional cc's *** Remember to use Documentation/SubmitChecklist when testing your code *** The -mm tree is included into linux-next and is updated there every 3-4 working days ------------------------------------------------------ From: Kim Phillips <kim.phillips@xxxxxxxxxxxxx> Subject: powerpc/mm: fix undefined reference to `.__kernel_map_pages' on FSL PPC64 arch/powerpc has __kernel_map_pages implementations in mm/pgtable_32.c, and mm/hash_utils_64.c, of which the former is built for PPC32, and the latter for PPC64 machines with PPC_STD_MMU. Fix arch/powerpc/Kconfig to not select ARCH_SUPPORTS_DEBUG_PAGEALLOC when CONFIG_PPC_STD_MMU_64 isn't defined, i.e., for 64-bit book3e builds to use the generic __kernel_map_pages() in mm/debug-pagealloc.c. LD init/built-in.o mm/built-in.o: In function `kernel_map_pages': include/linux/mm.h:2076: undefined reference to `.__kernel_map_pages' include/linux/mm.h:2076: undefined reference to `.__kernel_map_pages' include/linux/mm.h:2076: undefined reference to `.__kernel_map_pages' Makefile:925: recipe for target 'vmlinux' failed make: *** [vmlinux] Error 1 Fixes: 031bc5743f15 ("mm/debug-pagealloc: make debug-pagealloc boottime configurable") Signed-off-by: Kim Phillips <kim.phillips@xxxxxxxxxxxxx> Cc: Michael Ellerman <mpe@xxxxxxxxxxxxxx> CC: Akinobu Mita <akinobu.mita@xxxxxxxxx> Cc: Konstantin Khlebnikov <k.khlebnikov@xxxxxxxxxxx> Cc: Joonsoo Kim <iamjoonsoo.kim@xxxxxxx> Cc: Benjamin Herrenschmidt <benh@xxxxxxxxxxxxxxxxxxx> Cc: Paul Mackerras <paulus@xxxxxxxxx> Cc: Scott Wood <scottwood@xxxxxxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- arch/powerpc/Kconfig | 1 + 1 file changed, 1 insertion(+) diff -puN arch/powerpc/Kconfig~powerpc-mm-fix-undefined-reference-to-__kernel_map_pages-on-fsl-ppc64 arch/powerpc/Kconfig --- a/arch/powerpc/Kconfig~powerpc-mm-fix-undefined-reference-to-__kernel_map_pages-on-fsl-ppc64 +++ a/arch/powerpc/Kconfig @@ -256,6 +256,7 @@ config PPC_OF_PLATFORM_PCI default n config ARCH_SUPPORTS_DEBUG_PAGEALLOC + depends on PPC32 || PPC_STD_MMU_64 def_bool y config ARCH_SUPPORTS_UPROBES _ Patches currently in -mm which might be from kim.phillips@xxxxxxxxxxxxx are powerpc-mm-fix-undefined-reference-to-__kernel_map_pages-on-fsl-ppc64.patch mm-slub-fix-typo.patch -- To unsubscribe from this list: send the line "unsubscribe mm-commits" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html