diff options
Diffstat (limited to 'arch/powerpc/Kconfig')
-rw-r--r-- | arch/powerpc/Kconfig | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/arch/powerpc/Kconfig b/arch/powerpc/Kconfig index 587da5e0990f..c171f5bcf258 100644 --- a/arch/powerpc/Kconfig +++ b/arch/powerpc/Kconfig | |||
@@ -415,8 +415,11 @@ config PPC_64K_PAGES | |||
415 | 415 | ||
416 | config FORCE_MAX_ZONEORDER | 416 | config FORCE_MAX_ZONEORDER |
417 | int "Maximum zone order" | 417 | int "Maximum zone order" |
418 | range 9 64 if PPC_64K_PAGES | ||
418 | default "9" if PPC_64K_PAGES | 419 | default "9" if PPC_64K_PAGES |
420 | range 13 64 if PPC64 && !PPC_64K_PAGES | ||
419 | default "13" if PPC64 && !PPC_64K_PAGES | 421 | default "13" if PPC64 && !PPC_64K_PAGES |
422 | range 11 64 | ||
420 | default "11" | 423 | default "11" |
421 | help | 424 | help |
422 | The kernel memory allocator divides physically contiguous memory | 425 | The kernel memory allocator divides physically contiguous memory |
@@ -806,6 +809,19 @@ config PIN_TLB | |||
806 | endmenu | 809 | endmenu |
807 | 810 | ||
808 | if PPC64 | 811 | if PPC64 |
812 | config RELOCATABLE | ||
813 | bool "Build a relocatable kernel" | ||
814 | help | ||
815 | This builds a kernel image that is capable of running anywhere | ||
816 | in the RMA (real memory area) at any 16k-aligned base address. | ||
817 | The kernel is linked as a position-independent executable (PIE) | ||
818 | and contains dynamic relocations which are processed early | ||
819 | in the bootup process. | ||
820 | |||
821 | One use is for the kexec on panic case where the recovery kernel | ||
822 | must live at a different physical address than the primary | ||
823 | kernel. | ||
824 | |||
809 | config PAGE_OFFSET | 825 | config PAGE_OFFSET |
810 | hex | 826 | hex |
811 | default "0xc000000000000000" | 827 | default "0xc000000000000000" |