Re: [PATCH v3] powerpc/mm: fix undefined reference to `.__kernel_map_pages' on FSL PPC64

2015-01-28 Thread Kim Phillips
On Wed, 28 Jan 2015 14:22:02 +1100 Michael Ellerman m...@ellerman.id.au wrote: On Tue, 2015-01-27 at 18:57 -0800, Andrew Morton wrote: On Wed, 28 Jan 2015 10:33:59 +0900 Joonsoo Kim js1...@gmail.com wrote: 2015-01-28 10:01 GMT+09:00 Michael Ellerman m...@ellerman.id.au: On Mon,

Re: [PATCH v3] powerpc/mm: fix undefined reference to `.__kernel_map_pages' on FSL PPC64

2015-01-28 Thread Michael Ellerman
On Wed, 2015-01-28 at 14:14 -0600, Kim Phillips wrote: On Wed, 28 Jan 2015 14:22:02 +1100 Michael Ellerman m...@ellerman.id.au wrote: On Tue, 2015-01-27 at 18:57 -0800, Andrew Morton wrote: On Wed, 28 Jan 2015 10:33:59 +0900 Joonsoo Kim js1...@gmail.com wrote: 2015-01-28 10:01

Re: [PATCH v3] powerpc/mm: fix undefined reference to `.__kernel_map_pages' on FSL PPC64

2015-01-27 Thread Joonsoo Kim
2015-01-28 10:01 GMT+09:00 Michael Ellerman m...@ellerman.id.au: On Mon, 2015-01-26 at 13:22 -0600, Kim Phillips wrote: 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

Re: [PATCH v3] powerpc/mm: fix undefined reference to `.__kernel_map_pages' on FSL PPC64

2015-01-27 Thread Michael Ellerman
On Mon, 2015-01-26 at 13:22 -0600, Kim Phillips wrote: 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

Re: [PATCH v3] powerpc/mm: fix undefined reference to `.__kernel_map_pages' on FSL PPC64

2015-01-27 Thread Andrew Morton
On Wed, 28 Jan 2015 10:33:59 +0900 Joonsoo Kim js1...@gmail.com wrote: 2015-01-28 10:01 GMT+09:00 Michael Ellerman m...@ellerman.id.au: On Mon, 2015-01-26 at 13:22 -0600, Kim Phillips wrote: arch/powerpc has __kernel_map_pages implementations in mm/pgtable_32.c, and mm/hash_utils_64.c, of

Re: [PATCH v3] powerpc/mm: fix undefined reference to `.__kernel_map_pages' on FSL PPC64

2015-01-27 Thread Michael Ellerman
On Tue, 2015-01-27 at 18:57 -0800, Andrew Morton wrote: On Wed, 28 Jan 2015 10:33:59 +0900 Joonsoo Kim js1...@gmail.com wrote: 2015-01-28 10:01 GMT+09:00 Michael Ellerman m...@ellerman.id.au: On Mon, 2015-01-26 at 13:22 -0600, Kim Phillips wrote: arch/powerpc has __kernel_map_pages

[PATCH v3] powerpc/mm: fix undefined reference to `.__kernel_map_pages' on FSL PPC64

2015-01-26 Thread Kim Phillips
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