From patchwork Mon Apr 18 18:16:14 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Yang Shi X-Patchwork-Id: 8874391 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork2.web.kernel.org (Postfix) with ESMTP id 379F9BF29F for ; Mon, 18 Apr 2016 18:43:41 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 5F91120165 for ; Mon, 18 Apr 2016 18:43:40 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.9]) (using TLSv1.2 with cipher AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 9AAD02010C for ; Mon, 18 Apr 2016 18:43:39 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1asE7u-0002be-0E; Mon, 18 Apr 2016 18:42:26 +0000 Received: from mail-pf0-x230.google.com ([2607:f8b0:400e:c00::230]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1asE7r-0002UC-TR for linux-arm-kernel@lists.infradead.org; Mon, 18 Apr 2016 18:42:24 +0000 Received: by mail-pf0-x230.google.com with SMTP id 184so83848793pff.0 for ; Mon, 18 Apr 2016 11:42:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id; bh=/9klREkNffcoe0N18pjdA8hQNzN31EHATlQUzHE5mX0=; b=NRUTXgO1dUgSLAnsGQsOcLeXvzACfQx3kmo6iern0MxMshqo/+GwU3LWD6udGP2tkD lBYJo3FODjlwfbGk10ajxsla2osNkjHOn5xL0cpN2iGTSl/zq0X08ww4G9biSYCJN48x s5raCEquHGmz1IXmadDP+hdbmbev2H01TKa3M= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=/9klREkNffcoe0N18pjdA8hQNzN31EHATlQUzHE5mX0=; b=NEaXsgnmEEgt6n57LT2JbJrL0OLbAIRuFdRAxHW6hxVdmD1zKM8Z/8Uw7TBENqqK8h RbIbCPnGmZq83fVnWa4TWUCk/qecA3Np2dKc/Nx9pUodQhUhIhj15X58t/mL1ziAD0sl Rh0Q9AN6Fhhsjk8QXBXz9chLIGMA3JOEgBrika0/R7T7m8/Vqxpfm/uii2LLXMilBwm7 VrOlsHpM0axXnsKF068WHDm/ep+nwBXJPdBGfsauYCHWiXVc0MEge1BNjB/MPtarVC1h Ggg1sKw3kFZaq68cgkD9uL1kPSMjDl4/iBGWw5HvN7lm28Vppc0rnK9Ag139CvZ7vxNu CklQ== X-Gm-Message-State: AOPr4FU3GysMe6Fvdkl19CRrXOuYZOy6bPXGJNFzHffV6l9BtCkyj+tOsABa2pJZy7ds3KXf X-Received: by 10.98.20.150 with SMTP id 144mr49718627pfu.144.1461004922701; Mon, 18 Apr 2016 11:42:02 -0700 (PDT) Received: from yshi-Precision-T5600.corp.ad.wrs.com (unknown-216-82.windriver.com. [147.11.216.82]) by smtp.gmail.com with ESMTPSA id vv8sm85616896pab.22.2016.04.18.11.42.01 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 18 Apr 2016 11:42:01 -0700 (PDT) From: Yang Shi To: will.deacon@arm.com, catalin.marinas@arm.com Subject: [PATCH] arm64: Kconfig: remove redundant HAVE_ARCH_TRANSPARENT_HUGEPAGE definition Date: Mon, 18 Apr 2016 11:16:14 -0700 Message-Id: <1461003374-5412-1-git-send-email-yang.shi@linaro.org> X-Mailer: git-send-email 2.0.2 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20160418_114223_980058_F4096C91 X-CRM114-Status: GOOD ( 10.03 ) X-Spam-Score: -2.7 (--) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: yang.shi@linaro.org, linaro-kernel@lists.linaro.org, hughd@google.com, linux-kernel@vger.kernel.org, linux-mm@kvack.org, kirill.shutemov@linux.intel.com, akpm@linux-foundation.org, linux-arm-kernel@lists.infradead.org MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Spam-Status: No, score=-5.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_MED,RP_MATCHES_RCVD,T_DKIM_INVALID,UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP HAVE_ARCH_TRANSPARENT_HUGEPAGE has been defined in arch/Kconfig already, the ARM64 version is identical with it and the default value is Y. So remove the redundant definition and just select it under CONFIG_ARM64. Signed-off-by: Yang Shi --- arch/arm64/Kconfig | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/arch/arm64/Kconfig b/arch/arm64/Kconfig index e5de825..496c1b4 100644 --- a/arch/arm64/Kconfig +++ b/arch/arm64/Kconfig @@ -98,6 +98,7 @@ config ARM64 select SYSCTL_EXCEPTION_TRACE select HAVE_CONTEXT_TRACKING select HAVE_ARM_SMCCC + select HAVE_ARCH_TRANSPARENT_HUGEPAGE help ARM 64-bit (AArch64) Linux support. @@ -580,9 +581,6 @@ config SYS_SUPPORTS_HUGETLBFS config ARCH_WANT_HUGE_PMD_SHARE def_bool y if ARM64_4K_PAGES || (ARM64_16K_PAGES && !ARM64_VA_BITS_36) -config HAVE_ARCH_TRANSPARENT_HUGEPAGE - def_bool y - config ARCH_HAS_CACHE_LINE_SIZE def_bool y