diff options
Diffstat (limited to 'arch/powerpc/kernel/setup-common.c')
-rw-r--r-- | arch/powerpc/kernel/setup-common.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/arch/powerpc/kernel/setup-common.c b/arch/powerpc/kernel/setup-common.c index 2e3bc16d02b2..2075322cd225 100644 --- a/arch/powerpc/kernel/setup-common.c +++ b/arch/powerpc/kernel/setup-common.c | |||
@@ -773,7 +773,7 @@ void arch_setup_pdev_archdata(struct platform_device *pdev) | |||
773 | static __init void print_system_info(void) | 773 | static __init void print_system_info(void) |
774 | { | 774 | { |
775 | pr_info("-----------------------------------------------------\n"); | 775 | pr_info("-----------------------------------------------------\n"); |
776 | #ifdef CONFIG_PPC_STD_MMU_64 | 776 | #ifdef CONFIG_PPC_BOOK3S_64 |
777 | pr_info("ppc64_pft_size = 0x%llx\n", ppc64_pft_size); | 777 | pr_info("ppc64_pft_size = 0x%llx\n", ppc64_pft_size); |
778 | #endif | 778 | #endif |
779 | #ifdef CONFIG_PPC_STD_MMU_32 | 779 | #ifdef CONFIG_PPC_STD_MMU_32 |
@@ -800,7 +800,7 @@ static __init void print_system_info(void) | |||
800 | pr_info("firmware_features = 0x%016lx\n", powerpc_firmware_features); | 800 | pr_info("firmware_features = 0x%016lx\n", powerpc_firmware_features); |
801 | #endif | 801 | #endif |
802 | 802 | ||
803 | #ifdef CONFIG_PPC_STD_MMU_64 | 803 | #ifdef CONFIG_PPC_BOOK3S_64 |
804 | if (htab_address) | 804 | if (htab_address) |
805 | pr_info("htab_address = 0x%p\n", htab_address); | 805 | pr_info("htab_address = 0x%p\n", htab_address); |
806 | if (htab_hash_mask) | 806 | if (htab_hash_mask) |
@@ -898,7 +898,8 @@ void __init setup_arch(char **cmdline_p) | |||
898 | 898 | ||
899 | #ifdef CONFIG_PPC_MM_SLICES | 899 | #ifdef CONFIG_PPC_MM_SLICES |
900 | #ifdef CONFIG_PPC64 | 900 | #ifdef CONFIG_PPC64 |
901 | init_mm.context.addr_limit = DEFAULT_MAP_WINDOW_USER64; | 901 | if (!radix_enabled()) |
902 | init_mm.context.slb_addr_limit = DEFAULT_MAP_WINDOW_USER64; | ||
902 | #else | 903 | #else |
903 | #error "context.addr_limit not initialized." | 904 | #error "context.addr_limit not initialized." |
904 | #endif | 905 | #endif |