Re: [PATCH V2] powerpc/Kconfig: Update config option based on page size.

2016-02-18 Thread Balbir Singh
On 19/02/16 16:38, Rashmica Gupta wrote: > Currently on PPC64 changing kernel pagesize from 4K to 64K leaves > FORCE_MAX_ZONEORDER set to 13 - which produces a compile error. > > The error occurs because of the following constraint (from > include/linux/mmzone.h) being violated: > > MAX_ORD

[PATCH V2] powerpc/Kconfig: Update config option based on page size.

2016-02-18 Thread Rashmica Gupta
Currently on PPC64 changing kernel pagesize from 4K to 64K leaves FORCE_MAX_ZONEORDER set to 13 - which produces a compile error. The error occurs because of the following constraint (from include/linux/mmzone.h) being violated: MAX_ORDER -1 + PAGESHIFT <= SECTION_SIZE_BITS. Expanding th