Received: by 2002:a25:e74b:0:0:0:0:0 with SMTP id e72csp1715276ybh; Thu, 23 Jul 2020 16:16:22 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxZiM0QulOkH8NFcvhVFonqKiIeSU6rB/X71nDHThWV0lcYtXMt3iV39F0Fi1upa8oAjKv5 X-Received: by 2002:a17:906:ce51:: with SMTP id se17mr6388510ejb.503.1595546182532; Thu, 23 Jul 2020 16:16:22 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1595546182; cv=none; d=google.com; s=arc-20160816; b=EybxMrpZgLr9JEOcJREKQSU6xrXVKdtERYgsLWY7rN5jJxTykTGzz0HYX+Mbg0PQyi s2aXhMCuZ0U/nLf2wxhuDYAa0eiMOpp249vXX0tlL9AhoQHICmU8zOZVutkFsMYOyG9v KAxMI4bcJwYP7J86KUNSd9srK+SH3jHrK3IPn7p75H7LtMV7Gh/sy5PMZ1lnqq+i09X3 NsIMjPnEyBbRpH3jieKtU/hDKmi1FAGSSkLIIyFJrFyGwydcuWqHU6KogU7sgDrkOdOB twgUuMbGA2H2huHlb3hE9Lkcjg7yzbB8eIjbk9793+k0b0HCtda2qWWZdh8El45Op2Un ukag== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from; bh=0p3sWjwoIaPmRFGxZVHxaWE9xgeZNDe6TS9EQLQfiVk=; b=drjl0Emt3ojTIzWeEtTuplVVrPiXeiicaQEgUSQz9MSanXI3hROpvoVsskyw6wRNSy YD1OUzROr3PrWW5UON63+Zuc7scGvsFXj2HWozCwm+zZ7EXmG7F6zjD+iIuofeziqRb4 rBpkNVDyCCHPIh7IPGPpPBpg+IKCV7YcqXHW7BbQS8SFcYkPkl6Yl4h3Xme+DGrqrktW Fity69+ugRQX0e/ABKzAPgHEU6+e6WXz9A0qTGxecjd/mUgzj3GOSREyl0dxQqOCSJgs 1KJvcm5WVvZog+pgsQz3uzVx5tMMlcwvpyXFd3pPc9RR6A8m4xOJe37cJQFv0+VGmnLO aPQg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id l21si3026257ejg.690.2020.07.23.16.16.00; Thu, 23 Jul 2020 16:16:22 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728105AbgGWXPx (ORCPT + 99 others); Thu, 23 Jul 2020 19:15:53 -0400 Received: from mail-qk1-f195.google.com ([209.85.222.195]:34609 "EHLO mail-qk1-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727901AbgGWXPt (ORCPT ); Thu, 23 Jul 2020 19:15:49 -0400 Received: by mail-qk1-f195.google.com with SMTP id x69so7118152qkb.1; Thu, 23 Jul 2020 16:15:49 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=0p3sWjwoIaPmRFGxZVHxaWE9xgeZNDe6TS9EQLQfiVk=; b=hyfop1Nq9qhUbrhitGMJeKfJ4dnuX6dBM0QHrhxtqwouEXoJ8XGHmRXPqnH3pxm/iA YFwn18x4+4PMufCb/nL0AKfXLXZ6EHTtCKgp5MFksUzQJ5GKkWhO7KT+pKm7yHb1w26o grcj/5/z036BrPhd11/s9myEhgCkwFD84PezAuU/qUc2+2+pSvgLoKpnlC1JxZj8zk42 p6C60NeMkfon+DpHwXS1+mbFi9zw4JznzV9CqSWq935ycKb/++4Kh1NDq684w+moWppV RNY1HzE0NnS1p+ZbKKKtS14Rkkm3mL9tOebRaYf0CQPhte/GmG/ferKFYDCDI3+qVRr6 Q8Eg== X-Gm-Message-State: AOAM530HxjcDTJmDW35KSr3LBQwg5nIrIqZkgTTwGkXJp4SlfZfLwN1z 4a46tepfi56Y6cTn8I98q8A= X-Received: by 2002:a37:4d90:: with SMTP id a138mr7128415qkb.363.1595546148576; Thu, 23 Jul 2020 16:15:48 -0700 (PDT) Received: from rani.riverdale.lan ([2001:470:1f07:5f3::b55f]) by smtp.gmail.com with ESMTPSA id u58sm4196610qth.77.2020.07.23.16.15.47 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 23 Jul 2020 16:15:48 -0700 (PDT) From: Arvind Sankar To: x86@kernel.org, Dave Hansen , Andy Lutomirski , Peter Zijlstra , linux-sh@vger.kernel.org, Yoshinori Sato , Rich Felker , sparclinux@vger.kernel.org, "David S. Miller" Cc: Andrew Morton , linux-mm@kvack.org, linux-kernel@vger.kernel.org Subject: [PATCH 2/3] sh/mm: Drop unused MAX_PHYSADDR_BITS Date: Thu, 23 Jul 2020 19:15:43 -0400 Message-Id: <20200723231544.17274-3-nivedita@alum.mit.edu> X-Mailer: git-send-email 2.26.2 In-Reply-To: <20200723231544.17274-1-nivedita@alum.mit.edu> References: <20200723231544.17274-1-nivedita@alum.mit.edu> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The macro is not used anywhere, so remove the definition. Signed-off-by: Arvind Sankar --- arch/sh/include/asm/sparsemem.h | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/arch/sh/include/asm/sparsemem.h b/arch/sh/include/asm/sparsemem.h index 4eb899751e45..084706bb8cca 100644 --- a/arch/sh/include/asm/sparsemem.h +++ b/arch/sh/include/asm/sparsemem.h @@ -5,11 +5,9 @@ #ifdef __KERNEL__ /* * SECTION_SIZE_BITS 2^N: how big each section will be - * MAX_PHYSADDR_BITS 2^N: how much physical address space we have - * MAX_PHYSMEM_BITS 2^N: how much memory we can have in that space + * MAX_PHYSMEM_BITS 2^N: how much physical address space we have */ #define SECTION_SIZE_BITS 26 -#define MAX_PHYSADDR_BITS 32 #define MAX_PHYSMEM_BITS 32 #endif -- 2.26.2