diff options
author | Benjamin Herrenschmidt <benh@kernel.crashing.org> | 2009-03-02 21:30:03 -0500 |
---|---|---|
committer | Benjamin Herrenschmidt <benh@kernel.crashing.org> | 2009-03-02 21:30:03 -0500 |
commit | 652e8f8d579d61745094e36b4ff085026a332e73 (patch) | |
tree | 44145576f9cdf0b777dee0d0961f5499ea88bec8 /arch/powerpc/Kconfig | |
parent | 501cb16d3cfdcca99ac26fe122079f2a43b046b8 (diff) | |
parent | 6c7120902305b3a21460cd2f0f917a39307df566 (diff) |
Merge commit 'jwb/next' into next
Diffstat (limited to 'arch/powerpc/Kconfig')
-rw-r--r-- | arch/powerpc/Kconfig | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/arch/powerpc/Kconfig b/arch/powerpc/Kconfig index d11896b445b6..5c10af66fb51 100644 --- a/arch/powerpc/Kconfig +++ b/arch/powerpc/Kconfig | |||
@@ -410,6 +410,18 @@ config PPC_HAS_HASH_64K | |||
410 | depends on PPC64 | 410 | depends on PPC64 |
411 | default n | 411 | default n |
412 | 412 | ||
413 | config STDBINUTILS | ||
414 | bool "Using standard binutils settings" | ||
415 | depends on 44x | ||
416 | default y | ||
417 | help | ||
418 | Turning this option off allows you to select 256KB PAGE_SIZE on 44x. | ||
419 | Note, that kernel will be able to run only those applications, | ||
420 | which had been compiled using binutils later than 2.17.50.0.3 with | ||
421 | '-zmax-page-size' set to 256K (the default is 64K). Or, if using | ||
422 | the older binutils, you can patch them with a trivial patch, which | ||
423 | changes the ELF_MAXPAGESIZE definition from 0x10000 to 0x40000. | ||
424 | |||
413 | choice | 425 | choice |
414 | prompt "Page size" | 426 | prompt "Page size" |
415 | default PPC_4K_PAGES | 427 | default PPC_4K_PAGES |
@@ -445,6 +457,19 @@ config PPC_64K_PAGES | |||
445 | bool "64k page size" if 44x || PPC_STD_MMU_64 | 457 | bool "64k page size" if 44x || PPC_STD_MMU_64 |
446 | select PPC_HAS_HASH_64K if PPC_STD_MMU_64 | 458 | select PPC_HAS_HASH_64K if PPC_STD_MMU_64 |
447 | 459 | ||
460 | config PPC_256K_PAGES | ||
461 | bool "256k page size" if 44x | ||
462 | depends on !STDBINUTILS && (!SHMEM || BROKEN) | ||
463 | help | ||
464 | Make the page size 256k. | ||
465 | |||
466 | As the ELF standard only requires alignment to support page | ||
467 | sizes up to 64k, you will need to compile all of your user | ||
468 | space applications with a non-standard binutils settings | ||
469 | (see the STDBINUTILS description for details). | ||
470 | |||
471 | Say N unless you know what you are doing. | ||
472 | |||
448 | endchoice | 473 | endchoice |
449 | 474 | ||
450 | config FORCE_MAX_ZONEORDER | 475 | config FORCE_MAX_ZONEORDER |
@@ -457,6 +482,8 @@ config FORCE_MAX_ZONEORDER | |||
457 | default "9" if PPC_STD_MMU_32 && PPC_16K_PAGES | 482 | default "9" if PPC_STD_MMU_32 && PPC_16K_PAGES |
458 | range 7 64 if PPC_STD_MMU_32 && PPC_64K_PAGES | 483 | range 7 64 if PPC_STD_MMU_32 && PPC_64K_PAGES |
459 | default "7" if PPC_STD_MMU_32 && PPC_64K_PAGES | 484 | default "7" if PPC_STD_MMU_32 && PPC_64K_PAGES |
485 | range 5 64 if PPC_STD_MMU_32 && PPC_256K_PAGES | ||
486 | default "5" if PPC_STD_MMU_32 && PPC_256K_PAGES | ||
460 | range 11 64 | 487 | range 11 64 |
461 | default "11" | 488 | default "11" |
462 | help | 489 | help |