Re: powerc: fix build failure when CONFIG_HUGETLB_PAGE is not set

2014-10-28 Thread Cedric Le Goater
Hello Michael, On 10/28/2014 05:31 AM, Michael Ellerman wrote: > On Mon, 2014-27-10 at 14:30:06 UTC, =?utf-8?q?C=C3=A9dric_Le_Goater?= wrote: >> CC arch/powerpc/mm/slice.o >> In file included from ../arch/powerpc/mm/slice.c:33:0: >> ../include/linux/hugetlb.h:141:47: error: expected identifie

Re: powerc: fix build failure when CONFIG_HUGETLB_PAGE is not set

2014-10-27 Thread Michael Ellerman
On Mon, 2014-27-10 at 14:30:06 UTC, =?utf-8?q?C=C3=A9dric_Le_Goater?= wrote: > CC arch/powerpc/mm/slice.o > In file included from ../arch/powerpc/mm/slice.c:33:0: > ../include/linux/hugetlb.h:141:47: error: expected identifier or ‘(’ > before numeric constant > #define is_hugepage_only_r

[PATCH] powerc: fix build failure when CONFIG_HUGETLB_PAGE is not set

2014-10-27 Thread Cédric Le Goater
CC arch/powerpc/mm/slice.o In file included from ../arch/powerpc/mm/slice.c:33:0: ../include/linux/hugetlb.h:141:47: error: expected identifier or ‘(’ before numeric constant #define is_hugepage_only_range(mm, addr, len) 0 ^ ../arch/powerpc/mm