From patchwork Thu Jul 23 23:15:43 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Arvind Sankar X-Patchwork-Id: 11681797 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 9F2F6913 for ; Thu, 23 Jul 2020 23:15:51 +0000 (UTC) Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by mail.kernel.org (Postfix) with ESMTP id 749C72071A for ; Thu, 23 Jul 2020 23:15:51 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 749C72071A Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=alum.mit.edu Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=owner-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix) id 6F81C8D0006; Thu, 23 Jul 2020 19:15:50 -0400 (EDT) Delivered-To: linux-mm-outgoing@kvack.org Received: by kanga.kvack.org (Postfix, from userid 40) id 6825F8D0003; Thu, 23 Jul 2020 19:15:50 -0400 (EDT) X-Original-To: int-list-linux-mm@kvack.org X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 548868D0006; Thu, 23 Jul 2020 19:15:50 -0400 (EDT) X-Original-To: linux-mm@kvack.org X-Delivered-To: linux-mm@kvack.org Received: from forelay.hostedemail.com (smtprelay0244.hostedemail.com [216.40.44.244]) by kanga.kvack.org (Postfix) with ESMTP id 3BAF88D0003 for ; Thu, 23 Jul 2020 19:15:50 -0400 (EDT) Received: from smtpin27.hostedemail.com (10.5.19.251.rfc1918.com [10.5.19.251]) by forelay04.hostedemail.com (Postfix) with ESMTP id AF49DA74E for ; Thu, 23 Jul 2020 23:15:49 +0000 (UTC) X-FDA: 77070900018.27.steam32_5f0484626f42 Received: from filter.hostedemail.com (10.5.16.251.rfc1918.com [10.5.16.251]) by smtpin27.hostedemail.com (Postfix) with ESMTP id 7349D3DF62 for ; Thu, 23 Jul 2020 23:15:49 +0000 (UTC) X-Spam-Summary: 1,0,0,7b1032ff4fc53f9b,d41d8cd98f00b204,niveditas98@gmail.com,,RULES_HIT:41:355:379:541:800:960:968:988:989:1260:1311:1314:1345:1359:1437:1515:1534:1540:1711:1714:1730:1747:1777:1792:2393:2559:2562:2693:3138:3139:3140:3141:3142:3351:3865:3870:3871:3874:5007:6261:10004:11026:11473:11657:11658:11914:12043:12048:12297:12517:12519:12533:12555:12895:13069:13161:13229:13311:13357:13894:14096:14181:14384:14394:14721:21080:21444:21451:21627:30003:30054,0,RBL:209.85.222.195:@gmail.com:.lbl8.mailshell.net-66.100.201.100 62.18.0.100;04yrph99wf73u45r39ctiifdcpui9ocgn3uc4455oo1r4ga51tqxz3xp1wf1nh7.igfy7c7imxp97544p3wixmg1tnjjrn7nx7887fyr3f8dkem5rsjezthciyubice.n-lbl8.mailshell.net-223.238.255.100,CacheIP:none,Bayesian:0.5,0.5,0.5,Netcheck:none,DomainCache:0,MSF:not bulk,SPF:fp,MSBL:0,DNSBL:neutral,Custom_rules:0:0:0,LFtime:24,LUA_SUMMARY:none X-HE-Tag: steam32_5f0484626f42 X-Filterd-Recvd-Size: 3367 Received: from mail-qk1-f195.google.com (mail-qk1-f195.google.com [209.85.222.195]) by imf10.hostedemail.com (Postfix) with ESMTP for ; Thu, 23 Jul 2020 23:15:49 +0000 (UTC) Received: by mail-qk1-f195.google.com with SMTP id g26so7114747qka.3 for ; 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=G3tTikoBuksNq/iHsIgOjHvYJtQBF/hPm/qs/XxHeOL7o5SpsQYEQmGw1SYiUJMnZA jJBK/mvcb6BY9cG8wpY9aEJ6aZ+JLjXKy6h9qVRLTaETm43+vBXVliHPprOG8ed9ieLL EtHBCNevpHwTEY/iTS0DWQU+KV4DJs/vgC2Y2du8lUWi86eNgZNpR5VYm68tW3GEhGiB NdvVwQZ9mwP78RGPwm+WVKSF9wRmz9fCaEFZCZ+cJ3aHRTRh8e8n4CNW7YpYe0qoXaWd jqQkqsSB4FOlILGqhDICLZ+qF+MiaUnh1IvOHaZ7AFBFgJr4xhiifEvmpa8X5MUgJGjD Mcjw== X-Gm-Message-State: AOAM531RNejaO+Y4D50VHzZbjyNNhW2D6qv80I6/Qq/3saU4+GGkjc1g eqOa6JwG7dwjoBle8fiAxn8= X-Google-Smtp-Source: ABdhPJxRhrWyFuZm76eJyagUPBPagdoNvBL7r+lFd2f/JrZVqYCD5XYr6+Kk+vyZcZTbD12AbwR/Ug== 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 X-Rspamd-Queue-Id: 7349D3DF62 X-Spamd-Result: default: False [0.00 / 100.00] X-Rspamd-Server: rspam02 X-Bogosity: Ham, tests=bogofilter, spamicity=0.000000, version=1.2.4 Sender: owner-linux-mm@kvack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: The macro is not used anywhere, so remove the definition. Signed-off-by: Arvind Sankar Reviewed-by: David Hildenbrand --- 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