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: 66049 Delivered-To: patch@linaro.org Received: by 10.140.93.198 with SMTP id d64csp1439461qge; Mon, 18 Apr 2016 11:42:09 -0700 (PDT) X-Received: by 10.98.86.77 with SMTP id k74mr50651502pfb.28.1461004929112; Mon, 18 Apr 2016 11:42:09 -0700 (PDT) Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id xj1si6802162pab.237.2016.04.18.11.42.08; Mon, 18 Apr 2016 11:42:09 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751473AbcDRSmG (ORCPT + 29 others); Mon, 18 Apr 2016 14:42:06 -0400 Received: from mail-pf0-f181.google.com ([209.85.192.181]:35045 "EHLO mail-pf0-f181.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750849AbcDRSmE (ORCPT ); Mon, 18 Apr 2016 14:42:04 -0400 Received: by mail-pf0-f181.google.com with SMTP id n1so83517238pfn.2 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=VWamdeIhGJhGTZhQQf5CZgVnCOIZ/oqdqe6T1b2LreDvY2bTIV+1Pfc8nMnPZLAc+b rxwbQIm8+LA3cENjKSC34VmGCqYoFF6GlKITULO5xy/0wt4gMEoO0V886FuDnOTScVrj Ic4qZSwkX7vI72zYi19Ojqsv7sw73tPERwGdVwyLSSffW8p+Wu48BvcuIyulkkd9cXdU bBCeBY5qGiV1mW9fdRadbwlV5/ZuyRdPp/ae/Gkp1VVUH89Dtt/Bh/F0H5VK6XlzOO4N bRumm2rGtiGrS49wPaYMRg6BSKKP+Gjx58TI2jkwMAycYwlJwQSh4hBln5b8V1pjx8TB N6pg== X-Gm-Message-State: AOPr4FUO2/lD0AF3AawudmPptKfB336k3pXel2kjGkncAZsD6Ij7SbDcT5dDiNLI1lsnZZHx 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 Cc: kirill.shutemov@linux.intel.com, hughd@google.com, akpm@linux-foundation.org, linux-kernel@vger.kernel.org, linux-mm@kvack.org, linux-arm-kernel@lists.infradead.org, linaro-kernel@lists.linaro.org, yang.shi@linaro.org 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 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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(-) -- 2.0.2 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