From patchwork Thu Jul 23 23:15:41 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Arvind Sankar X-Patchwork-Id: 11681809 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 87B0D913 for ; Thu, 23 Jul 2020 23:17:40 +0000 (UTC) Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by mail.kernel.org (Postfix) with ESMTP id 53F372071A for ; Thu, 23 Jul 2020 23:17:40 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 53F372071A 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 A2BF88D000D; Thu, 23 Jul 2020 19:17:39 -0400 (EDT) Delivered-To: linux-mm-outgoing@kvack.org Received: by kanga.kvack.org (Postfix, from userid 40) id A02E58D0003; Thu, 23 Jul 2020 19:17:39 -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 8CC408D000D; Thu, 23 Jul 2020 19:17:39 -0400 (EDT) X-Original-To: linux-mm@kvack.org X-Delivered-To: linux-mm@kvack.org Received: from forelay.hostedemail.com (smtprelay0158.hostedemail.com [216.40.44.158]) by kanga.kvack.org (Postfix) with ESMTP id 75FA98D0003 for ; Thu, 23 Jul 2020 19:17:39 -0400 (EDT) Received: from smtpin06.hostedemail.com (10.5.19.251.rfc1918.com [10.5.19.251]) by forelay02.hostedemail.com (Postfix) with ESMTP id B52D110F0C for ; Thu, 23 Jul 2020 23:17:38 +0000 (UTC) X-FDA: 77070904596.06.rod66_171799226f42 Received: from filter.hostedemail.com (10.5.16.251.rfc1918.com [10.5.16.251]) by smtpin06.hostedemail.com (Postfix) with ESMTP id E30C61004FBF0 for ; Thu, 23 Jul 2020 23:15:47 +0000 (UTC) X-Spam-Summary: 1,0,0,8997c957513919d2,d41d8cd98f00b204,niveditas98@gmail.com,,RULES_HIT:41:355:379:541:988:989:1260:1311:1314:1345:1437:1515:1534:1538:1568:1711:1714:1730:1747:1777:1792:2393:2559:2562:3138:3139:3140:3141:3142:3865:3866:3867:3868:3870:3871:3872:5007:6261:10004:11026:11473:11657:11658:11914:12043:12048:12297:12517:12519:12533:12679:12895:13069:13311:13357:13894:14384:14394:21080:21444:21451:21627:21990:30054,0,RBL:209.85.222.170:@gmail.com:.lbl8.mailshell.net-62.18.0.100 66.100.201.100;04yr7dpkzf7dwkueg3b56qgm8xqaiycdn4gaqhfizbnfokmdzo8cywok9x8iuuy.jt71syizdbygt8zchpjx79kx4hywnxxdmkhuouc5nkmk3s4iqe5kcywshnf6ktx.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:23,LUA_SUMMARY:none X-HE-Tag: rod66_171799226f42 X-Filterd-Recvd-Size: 2947 Received: from mail-qk1-f170.google.com (mail-qk1-f170.google.com [209.85.222.170]) by imf39.hostedemail.com (Postfix) with ESMTP for ; Thu, 23 Jul 2020 23:15:47 +0000 (UTC) Received: by mail-qk1-f170.google.com with SMTP id d14so7048430qke.13 for ; Thu, 23 Jul 2020 16:15:47 -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:mime-version :content-transfer-encoding; bh=HCK5IhOfeHrsKWvFWWJWPxRK1T7/lPw/Gt6N/NVxpu0=; b=S5n6JwbGYicvewXIhyWQzU90dxvuwLSPzky9km8F6togX48/1EQiAi7upLDITTk2bk yTcBgWtJHs1PTnACN9KBotD3w8oWlJ2BQ+TDwe/3WvrNnsrZ+JJVLcJiRObwVWz7DZUV wdGWD9eDJwed+Faf0GQWUFf4HQoFSZwd2xwAupfcYp+HrqnQGIymvg8ltQwfAhgV2HEJ rauC/Mt2VpDSeC1kbYLb+BLcOmniYlACA0jIvAoqHRqK03NjW7IZBOGG45cG3i1H5cbj GbfXTl9RN2/xmiow5BzyO+Gdl0pMONOg4YgDQjC1WrN3VW03sM+D4iJzuMDfWyYyWHNU WG0w== X-Gm-Message-State: AOAM531CdqjC9MQTUUFh9haZdAkdBUf5YYsfgXSxU86Hz0DtLOMjyvYP k4YgVpDf9jBVAgselIUz28Q= X-Google-Smtp-Source: ABdhPJxGjhsHQ6lCTM9N6P84KeI8k5panpNx/IPPwLe6F0Umvuiw61o3taxh3m4DMff3eT2Ts8Npuw== X-Received: by 2002:a37:4289:: with SMTP id p131mr7802401qka.28.1595546146808; Thu, 23 Jul 2020 16:15:46 -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.45 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 23 Jul 2020 16:15:46 -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 0/3] Drop unused MAX_PHYSADDR_BITS Date: Thu, 23 Jul 2020 19:15:41 -0400 Message-Id: <20200723231544.17274-1-nivedita@alum.mit.edu> X-Mailer: git-send-email 2.26.2 MIME-Version: 1.0 X-Rspamd-Queue-Id: E30C61004FBF0 X-Spamd-Result: default: False [0.00 / 100.00] X-Rspamd-Server: rspam04 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: This #define is not used anywhere, and has the wrong value on x86_64. I tried digging into the history a bit, but it seems to have been unused even in the initial merge of sparsemem in v2.6.13, when it was first defined. Arvind Sankar (3): x86/mm: Drop unused MAX_PHYSADDR_BITS sh/mm: Drop unused MAX_PHYSADDR_BITS sparc: Drop unused MAX_PHYSADDR_BITS arch/sh/include/asm/sparsemem.h | 4 +--- arch/sparc/include/asm/sparsemem.h | 1 - arch/x86/include/asm/sparsemem.h | 6 +----- 3 files changed, 2 insertions(+), 9 deletions(-) Acked-by: Mike Rapoport