Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp6468430yba; Wed, 1 May 2019 12:58:52 -0700 (PDT) X-Google-Smtp-Source: APXvYqwOFws7EBLhi4Wug9v8fnwGdJg+TyvPoelKEhe/faqpj3ylSXLp7nKrwP42o7Mmv408xlad X-Received: by 2002:a17:902:7789:: with SMTP id o9mr12343304pll.300.1556740732348; Wed, 01 May 2019 12:58:52 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1556740732; cv=none; d=google.com; s=arc-20160816; b=pxXrWPBR5eOQ1qKowsYvknCsrJjYlBABklvXyVvZmECPnSRz2M7FZcudA7OAGYvYLq o9AL8nzIuvhA33Yv4e8thlVl8YonLkSs91HDycf874WdHd32iT4IzXvVqieEGV1nwn4y sOJo7JJYyw5vUfQANKpXSn4My7sImpbaITSqj4JTjB4uMGV9Ha15AG+lfGS1/UMibyZx 7MCo0MfRsVwgLJSpPK44aRzhe3pXJCTIQ8fuEEPAePlpgqZNXPUvZW5X6S29y6dabhnd dok+01rARVwAK2+eS9hZZFrh26Cp6Yv2knmi9i+Biz1tMaW0TxJ66OfBzU9YCYih7flP XBCQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:references:in-reply-to:date :subject:cc:to:from; bh=ql5sRn553pbmvzkl6VYt+sDfuCGFt2/kqpttabHkmVk=; b=017Z+sXJfFnRW9Su1xHz8Y0ypZHx2/xwxEL6wNtGQS3RG13vUnh3gQYpUoSoIQYM9r 91Ek4eBOd3POGuQ5QCc3hIRhoK3obWa8o8eDxhoc6wP3bVILMhihbh3RyF3uaFGNzmvq XNEo9lvY2fCOz7XTSZ18b4VzPTYGLgPEqrRc75XwwRzfk8wg4Vze8WEJc0BQkH27Uowc NhXzLvYW59erR38GFaJDS8iUjFfRVvSGWRgrAvqQ/AwzSDEtxdPSGQkwiKTsC1T/IKq+ H7mrG+bXVkHMKyWhjdDEW6X2cEnQylTOQB7MgaEAt3yO2lXGPJcudLUsL4JqzqY/2wSw Amlw== ARC-Authentication-Results: i=1; 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=ibm.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id d34si6306289pld.58.2019.05.01.12.58.36; Wed, 01 May 2019 12:58:52 -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; 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=fail (p=NONE sp=NONE dis=NONE) header.from=ibm.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726368AbfEAT4q (ORCPT + 99 others); Wed, 1 May 2019 15:56:46 -0400 Received: from mx0a-001b2d01.pphosted.com ([148.163.156.1]:47768 "EHLO mx0a-001b2d01.pphosted.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726351AbfEAT4p (ORCPT ); Wed, 1 May 2019 15:56:45 -0400 Received: from pps.filterd (m0098409.ppops.net [127.0.0.1]) by mx0a-001b2d01.pphosted.com (8.16.0.27/8.16.0.27) with SMTP id x41JqGKY076127 for ; Wed, 1 May 2019 15:56:44 -0400 Received: from e06smtp07.uk.ibm.com (e06smtp07.uk.ibm.com [195.75.94.103]) by mx0a-001b2d01.pphosted.com with ESMTP id 2s7gftcc8j-1 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=NOT) for ; Wed, 01 May 2019 15:56:44 -0400 Received: from localhost by e06smtp07.uk.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Wed, 1 May 2019 20:56:41 +0100 Received: from b06cxnps4075.portsmouth.uk.ibm.com (9.149.109.197) by e06smtp07.uk.ibm.com (192.168.101.137) with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted; (version=TLSv1/SSLv3 cipher=AES256-GCM-SHA384 bits=256/256) Wed, 1 May 2019 20:56:38 +0100 Received: from d06av24.portsmouth.uk.ibm.com (d06av24.portsmouth.uk.ibm.com [9.149.105.60]) by b06cxnps4075.portsmouth.uk.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id x41Jubuk48365568 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Wed, 1 May 2019 19:56:37 GMT Received: from d06av24.portsmouth.uk.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 9BE3842049; Wed, 1 May 2019 19:56:37 +0000 (GMT) Received: from d06av24.portsmouth.uk.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 7CAD542047; Wed, 1 May 2019 19:56:34 +0000 (GMT) Received: from rapoport-lnx (unknown [9.148.205.12]) by d06av24.portsmouth.uk.ibm.com (Postfix) with ESMTPS; Wed, 1 May 2019 19:56:34 +0000 (GMT) Received: by rapoport-lnx (sSMTP sendmail emulation); Wed, 01 May 2019 22:56:33 +0300 From: Mike Rapoport To: Andrew Morton Cc: Arnd Bergmann , Christoph Hellwig , "David S. Miller" , Heiko Carstens , Martin Schwidefsky , Russell King , linux-arm-kernel@lists.infradead.org, linux-s390@vger.kernel.org, sparclinux@vger.kernel.org, linux-arch@vger.kernel.org, linux-mm@kvack.org, linux-kernel@vger.kernel.org, Mike Rapoport Subject: [PATCH 3/3] sparc: remove ARCH_SELECT_MEMORY_MODEL Date: Wed, 1 May 2019 22:56:17 +0300 X-Mailer: git-send-email 2.7.4 In-Reply-To: <1556740577-4140-1-git-send-email-rppt@linux.ibm.com> References: <1556740577-4140-1-git-send-email-rppt@linux.ibm.com> X-TM-AS-GCONF: 00 x-cbid: 19050119-0028-0000-0000-00000369516B X-IBM-AV-DETECTION: SAVI=unused REMOTE=unused XFE=unused x-cbparentid: 19050119-0029-0000-0000-00002428BA52 Message-Id: <1556740577-4140-4-git-send-email-rppt@linux.ibm.com> X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:,, definitions=2019-05-01_09:,, signatures=0 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 priorityscore=1501 malwarescore=0 suspectscore=0 phishscore=0 bulkscore=0 spamscore=0 clxscore=1015 lowpriorityscore=0 mlxscore=0 impostorscore=0 mlxlogscore=999 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1810050000 definitions=main-1905010124 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The ARCH_SELECT_MEMORY_MODEL option is enabled only for 64-bit. However, 64-bit configuration also enables ARCH_SPARSEMEM_DEFAULT and there is no ARCH_FLATMEM_ENABLE in arch/sparc/Kconfig. With such settings, the dependencies in mm/Kconfig are always evaluated to SPARSEMEM=y for 64-bit and to FLATMEM=y for 32-bit. The ARCH_SELECT_MEMORY_MODEL option in arch/sparc/Kconfig does not affect anything and can be removed. Signed-off-by: Mike Rapoport --- arch/sparc/Kconfig | 3 --- 1 file changed, 3 deletions(-) diff --git a/arch/sparc/Kconfig b/arch/sparc/Kconfig index 40f8f4f..9137dbe 100644 --- a/arch/sparc/Kconfig +++ b/arch/sparc/Kconfig @@ -305,9 +305,6 @@ config NODES_SPAN_OTHER_NODES def_bool y depends on NEED_MULTIPLE_NODES -config ARCH_SELECT_MEMORY_MODEL - def_bool y if SPARC64 - config ARCH_SPARSEMEM_ENABLE def_bool y if SPARC64 select SPARSEMEM_VMEMMAP_ENABLE -- 2.7.4