Received: from mail-gw2-out.broadcom.com ([216.31.210.63]:5393 "EHLO mail-gw2-out.broadcom.com" rhost-flags-OK-OK-OK-OK) by eddie.linux-mips.org with ESMTP id S27010539AbbAPMimNL9Q1 (ORCPT ); Fri, 16 Jan 2015 13:38:42 +0100 From: Jayachandran C Subject: [PATCH 1/5] MIPS: Make MAPPED_KERNEL config option common Date: Fri, 16 Jan 2015 18:08:04 +0530 Message-ID: <1421411888-3367-2-git-send-email-jchandra@broadcom.com> In-Reply-To: <1421411888-3367-1-git-send-email-jchandra@broadcom.com> References: <1421411888-3367-1-git-send-email-jchandra@broadcom.com> MIME-Version: 1.0 Content-Type: text/plain Return-Path: Sender: linux-mips-bounce@linux-mips.org Errors-to: linux-mips-bounce@linux-mips.org List-help: List-unsubscribe: List-software: Ecartis version 1.0.0 List-subscribe: List-owner: List-post: List-archive: To: linux-mips@linux-mips.org, ralf@linux-mips.org Cc: Jayachandran C Message-ID: <20150116123804.uRxi4yIb5hPR84KeOEVdeGRHYcOC8Epb2IgPVI1OEjY@z> This will be needed for the mapped kernel patches for Netlogic XLP. Signed-off-by: Jayachandran C --- arch/mips/Kconfig | 8 ++++++++ arch/mips/sgi-ip27/Kconfig | 8 -------- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/arch/mips/Kconfig b/arch/mips/Kconfig index 74a76da..c8c3fe1 100644 --- a/arch/mips/Kconfig +++ b/arch/mips/Kconfig @@ -2124,6 +2124,14 @@ config SB1_PASS_2_1_WORKAROUNDS depends on CPU_SB1 && CPU_SB1_PASS_2 default y +config MAPPED_KERNEL + bool "Mapped kernel support" + depends on SGI_IP27 + help + Change the way a Linux kernel is loaded into memory on a MIPS64 + machine. This is required in order to support text replication on + NUMA. If you need to understand it, read the source code. + config ARCH_PHYS_ADDR_T_64BIT bool diff --git a/arch/mips/sgi-ip27/Kconfig b/arch/mips/sgi-ip27/Kconfig index 4d8705a..2c9dd3d 100644 --- a/arch/mips/sgi-ip27/Kconfig +++ b/arch/mips/sgi-ip27/Kconfig @@ -21,14 +21,6 @@ config SGI_SN_N_MODE endchoice -config MAPPED_KERNEL - bool "Mapped kernel support" - depends on SGI_IP27 - help - Change the way a Linux kernel is loaded into memory on a MIPS64 - machine. This is required in order to support text replication on - NUMA. If you need to understand it, read the source code. - config REPLICATE_KTEXT bool "Kernel text replication support" depends on SGI_IP27 -- 1.9.1