From patchwork Thu Jul 23 23:15:44 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Arvind Sankar X-Patchwork-Id: 11681803 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 0A7E06C1 for ; Thu, 23 Jul 2020 23:15:54 +0000 (UTC) Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by mail.kernel.org (Postfix) with ESMTP id D4AA02071A for ; Thu, 23 Jul 2020 23:15:53 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org D4AA02071A 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 106038D0009; Thu, 23 Jul 2020 19:15:51 -0400 (EDT) Delivered-To: linux-mm-outgoing@kvack.org Received: by kanga.kvack.org (Postfix, from userid 40) id 0B5278D0003; Thu, 23 Jul 2020 19:15:51 -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 EE4C38D0009; 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 (smtprelay0059.hostedemail.com [216.40.44.59]) by kanga.kvack.org (Postfix) with ESMTP id D87258D0003 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 forelay05.hostedemail.com (Postfix) with ESMTP id 8F6A4181AF5F7 for ; Thu, 23 Jul 2020 23:15:50 +0000 (UTC) X-FDA: 77070900060.27.lead38_2504caf26f42 Received: from filter.hostedemail.com (10.5.16.251.rfc1918.com [10.5.16.251]) by smtpin27.hostedemail.com (Postfix) with ESMTP id 652513DF66 for ; Thu, 23 Jul 2020 23:15:50 +0000 (UTC) X-Spam-Summary: 1,0,0,85ffb5152067019a,d41d8cd98f00b204,niveditas98@gmail.com,,RULES_HIT:41:355:379:541:800:960:968:988:989:1260:1311:1314:1345:1359:1431:1437:1515:1534:1539:1566:1711:1714:1730:1747:1777:1792:2393:2559:2562:3138:3139:3140:3141:3142:3865:3871:4321:4605:5007:6261:8784:10004:11026:11473:11657:11658:11914:12043:12048:12297:12438:12517:12519:12533:12555:12895:12986:13069:13161:13229:13311:13357:13894:14181:14384:14394:14721:21080:21444:21451:21627:30054,0,RBL:209.85.222.195:@gmail.com:.lbl8.mailshell.net-66.100.201.100 62.18.0.100;04ygc8xm4y71wwrzkhim65ze9setgop86r15en888qu1rtmmycqr3pkjajzc31f.6hqsfot796h3nyy34jpr1wmurfbfpg4yewichyonynytbthhi91ahxd6tqbweoc.a-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: lead38_2504caf26f42 X-Filterd-Recvd-Size: 3166 Received: from mail-qk1-f195.google.com (mail-qk1-f195.google.com [209.85.222.195]) by imf16.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 l23so7125526qkk.0 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=6814H9LNFm7mNAgAbdABMO015b6dWxo/CiMH4s9kGpU=; b=OGkk36SWL9vVUaG4vWBU6N9cQaPi6ZUwRIDlpVF1ZvM4LFdx02x9596w9lbzeK6oe4 UoepYiunDCSVSgxUFYOy2sjxFmbZJs+3Fpm0xfA2KcYRUMSiIICLMxpn7KDL/WU0rf6C RLqJtJLOarI+7F8V3ahhbkSofiR8L52N0cmmDNX2gTuz3Djkih6YczweOxndSR6l6uIe L1xcNIgxQcLQK/PsTXhyZNcUP1XIInPoptBiKGbOHEKCdOIAVrmNwaznFpWo8bD3cKFC M+Ij9+C06GtKVZVGeapQz6yqB4WD1Hx7WgcWSzWEvxwcePwvMA785yBylLAxfzwEuYAk U1/w== X-Gm-Message-State: AOAM530dAVWJ3jI1JEVTErnUgnvjan6bhEFe66Md7bMlV82Lcmn0wJIz wLrqZhNO3n3daTHLF7DsEzg= X-Google-Smtp-Source: ABdhPJy5MXBWH5s3/fFypWtBdB8VuP3zU2BNO8/KzwtRWG7b7u/p/FSVMT5e4B3abtwckXpaKD/qgA== X-Received: by 2002:a37:b48:: with SMTP id 69mr6950053qkl.407.1595546149397; Thu, 23 Jul 2020 16:15:49 -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.48 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 23 Jul 2020 16:15:49 -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 3/3] sparc: Drop unused MAX_PHYSADDR_BITS Date: Thu, 23 Jul 2020 19:15:44 -0400 Message-Id: <20200723231544.17274-4-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: 652513DF66 X-Spamd-Result: default: False [0.00 / 100.00] X-Rspamd-Server: rspam05 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 Acked-by: David S. Miller --- arch/sparc/include/asm/sparsemem.h | 1 - 1 file changed, 1 deletion(-) diff --git a/arch/sparc/include/asm/sparsemem.h b/arch/sparc/include/asm/sparsemem.h index 1dd1b61432db..aa9a676bc341 100644 --- a/arch/sparc/include/asm/sparsemem.h +++ b/arch/sparc/include/asm/sparsemem.h @@ -7,7 +7,6 @@ #include #define SECTION_SIZE_BITS 30 -#define MAX_PHYSADDR_BITS MAX_PHYS_ADDRESS_BITS #define MAX_PHYSMEM_BITS MAX_PHYS_ADDRESS_BITS #endif /* !(__KERNEL__) */