From patchwork Fri Feb 12 23:27:47 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Yang Shi X-Patchwork-Id: 61899 Delivered-To: patch@linaro.org Received: by 10.112.43.199 with SMTP id y7csp1127663lbl; Fri, 12 Feb 2016 15:50:38 -0800 (PST) X-Received: by 10.66.145.194 with SMTP id sw2mr5952264pab.69.1455321038125; Fri, 12 Feb 2016 15:50:38 -0800 (PST) Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id ty8si23079420pac.61.2016.02.12.15.50.37; Fri, 12 Feb 2016 15:50:38 -0800 (PST) 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; 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; dkim=pass header.i=@linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752115AbcBLXug (ORCPT + 30 others); Fri, 12 Feb 2016 18:50:36 -0500 Received: from mail-pa0-f52.google.com ([209.85.220.52]:35842 "EHLO mail-pa0-f52.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751320AbcBLXue (ORCPT ); Fri, 12 Feb 2016 18:50:34 -0500 Received: by mail-pa0-f52.google.com with SMTP id yy13so53868200pab.3 for ; Fri, 12 Feb 2016 15:50:34 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id; bh=E7TFzmY3IVDHZGOF1WfERKEC4gV4cuqNdOB35ElBUHI=; b=C4XdM5eVxJuBjhU9moVUf6gP+dBZSbeFDsVtrqPU3XQ1gbuDlXb6kCluPjUMZIJKAR HwURrOB8Lq+e3MvLARewOzbV2o2O+BHyJfpoqCvCjfBmUTCedfTe+VzTeHHwEAZ2sggB bxL6/+JTL5PgyJwE+2vFKq4Mk2u2RRDtY/qc4= 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=E7TFzmY3IVDHZGOF1WfERKEC4gV4cuqNdOB35ElBUHI=; b=abEtxhQ3eznux0aZWZkaP1PM7ALLIpfQwVJT6RYOPb7fY60Zvr4FVhSIpXHn/jWQV5 XWXKrxgUnilxGBMh1+6gLo7d/an2PPUpVDEa6NcxV3XXzu5n/FUaEgtTVpbB6ojMbqZX q6dC1XhTF0mn1eTUKcihkkdgj+KAfw1SMeSYWOcHMR8rFwdyb9iJ6LsUMmUn5JTL24lH D3xOGhlTi5FlNAGyyRM5wPT8pEtw0VjkhWNe7w4A1QXbo2exjviWVTgOPYtAfRPXURYC UxyM8M5BOEKBshmadgbC7YJi73RCBgU5llolL4uGanHGwWjGyyR2J52mApXVmbQvHj1N WOyA== X-Gm-Message-State: AG10YOTiGkZQ1MNvu8n5GsWi2P3IgrBjp2iKWb+gZ+q3zTj7OFb7cDCBqfiC3OHSXuziDDjZ X-Received: by 10.66.193.131 with SMTP id ho3mr5977214pac.154.1455321034585; Fri, 12 Feb 2016 15:50:34 -0800 (PST) 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 r26sm21899646pfb.21.2016.02.12.15.50.33 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 12 Feb 2016 15:50:33 -0800 (PST) From: Yang Shi To: akpm@linux-foundation.org Cc: linux-kernel@vger.kernel.org, linux-mm@kvack.org, linaro-kernel@lists.linaro.org, yang.shi@linaro.org Subject: [PATCH] mm/Kconfig: remove redundant arch depend for memory hotplug Date: Fri, 12 Feb 2016 15:27:47 -0800 Message-Id: <1455319667-12112-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 MEMORY_HOTPLUG already depends on ARCH_ENABLE_MEMORY_HOTPLUG which is selected by the supported architectures, so the following arch depend is unnecessary. Signed-off-by: Yang Shi --- mm/Kconfig | 1 - 1 file changed, 1 deletion(-) -- 2.0.2 diff --git a/mm/Kconfig b/mm/Kconfig index 03cbfa0..c077765 100644 --- a/mm/Kconfig +++ b/mm/Kconfig @@ -187,7 +187,6 @@ config MEMORY_HOTPLUG bool "Allow for memory hot-add" depends on SPARSEMEM || X86_64_ACPI_NUMA depends on ARCH_ENABLE_MEMORY_HOTPLUG - depends on (IA64 || X86 || PPC_BOOK3S_64 || SUPERH || S390) config MEMORY_HOTPLUG_SPARSE def_bool y