From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-7.1 required=3.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,INCLUDES_PATCH,MAILING_LIST_MULTI,SIGNED_OFF_BY, SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id DB319C2D0E8 for ; Thu, 26 Mar 2020 14:26:02 +0000 (UTC) Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by mail.kernel.org (Postfix) with ESMTP id 9FA25208E4 for ; Thu, 26 Mar 2020 14:26:02 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (1024-bit key) header.d=kernel.org header.i=@kernel.org header.b="oeDhPEvk" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 9FA25208E4 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=kernel.org Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=owner-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix) id 284696B000A; Thu, 26 Mar 2020 10:26:02 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id 235026B000C; Thu, 26 Mar 2020 10:26:02 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 149F56B000D; Thu, 26 Mar 2020 10:26:02 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from forelay.hostedemail.com (smtprelay0174.hostedemail.com [216.40.44.174]) by kanga.kvack.org (Postfix) with ESMTP id EE5536B000A for ; Thu, 26 Mar 2020 10:26:01 -0400 (EDT) Received: from smtpin01.hostedemail.com (10.5.19.251.rfc1918.com [10.5.19.251]) by forelay03.hostedemail.com (Postfix) with ESMTP id 03B6982499B9 for ; Thu, 26 Mar 2020 14:26:02 +0000 (UTC) X-FDA: 76637737764.01.show48_6ed6859c2cb3b X-HE-Tag: show48_6ed6859c2cb3b X-Filterd-Recvd-Size: 2884 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by imf01.hostedemail.com (Postfix) with ESMTP for ; Thu, 26 Mar 2020 14:26:01 +0000 (UTC) Received: from kernel.org (unknown [87.70.82.132]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id BF4E120737; Thu, 26 Mar 2020 14:25:56 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1585232760; bh=KMkEwoFLR0gA4f1WF6jeYdZ+fFFbpN1NEKW94s38IeE=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=oeDhPEvk0eFtq+gXdH4d4sq590TuOJzGFmBo5wIFU2+S8saJft+6H3HS2PZfZ+LMy KIDo8zl84Krh+qBUA28KeUM44MpeT3UVlTrZ/GPLbMsYbiLCsX2RAZFljWB/W53zTf FOLroABLtXiEiVaY5pcrEdWDFWrLDZBqOcpQ970w= Date: Thu, 26 Mar 2020 16:25:49 +0200 From: Mike Rapoport To: Waiman Long Cc: Andrew Morton , Richard Henderson , Ivan Kokshaysky , Matt Turner , linux-mm@kvack.org, linux-kernel@vger.kernel.org, linux-alpha@vger.kernel.org Subject: Re: [PATCH] mm: Remove dummy struct bootmem_data/bootmem_data_t Message-ID: <20200326142549.GA3544@kernel.org> References: <20200326022617.26208-1-longman@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200326022617.26208-1-longman@redhat.com> 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: On Wed, Mar 25, 2020 at 10:26:17PM -0400, Waiman Long wrote: > Both bootmem_data and bootmem_data_t structures are no longer defined. > Remove the dummy forward declarations. > > Signed-off-by: Waiman Long Acked-by: Mike Rapoport > --- > arch/alpha/include/asm/mmzone.h | 2 -- > include/linux/mmzone.h | 1 - > 2 files changed, 3 deletions(-) > > diff --git a/arch/alpha/include/asm/mmzone.h b/arch/alpha/include/asm/mmzone.h > index 7ee144f484f1..9b521c857436 100644 > --- a/arch/alpha/include/asm/mmzone.h > +++ b/arch/alpha/include/asm/mmzone.h > @@ -8,8 +8,6 @@ > > #include > > -struct bootmem_data_t; /* stupid forward decl. */ > - > /* > * Following are macros that are specific to this numa platform. > */ > diff --git a/include/linux/mmzone.h b/include/linux/mmzone.h > index 462f6873905a..5c388eced889 100644 > --- a/include/linux/mmzone.h > +++ b/include/linux/mmzone.h > @@ -706,7 +706,6 @@ struct deferred_split { > * Memory statistics and page replacement data structures are maintained on a > * per-zone basis. > */ > -struct bootmem_data; > typedef struct pglist_data { > struct zone node_zones[MAX_NR_ZONES]; > struct zonelist node_zonelists[MAX_ZONELISTS]; > -- > 2.18.1 > > -- Sincerely yours, Mike.