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

Arnd Bergmann arnd at arndb.de
Fri Feb 19 19:15:03 AEDT 2016


On Friday 19 February 2016 12:55:43 Rashmica Gupta wrote:
> 
>  config FORCE_MAX_ZONEORDER
>         int "Maximum zone order"
> -       range 9 64 if PPC64 && PPC_64K_PAGES
> +       range 9 9 if PPC64 && PPC_64K_PAGES
>         default "9" if PPC64 && PPC_64K_PAGES
>         range 13 64 if PPC64 && !PPC_64K_PAGES
>         default "13" if PPC64 && !PPC_64K_PAGES
> 

You can also use

	int "Maximum zone order" if !PPC_64K_PAGES

which will hide the option in the case where no configuration is possible.

	Arnd


More information about the Linuxppc-dev mailing list