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=-8.4 required=3.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH, MAILING_LIST_MULTI,SIGNED_OFF_BY,SPF_HELO_NONE,SPF_PASS,USER_AGENT_SANE_1 autolearn=ham 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 0E894C43331 for ; Thu, 26 Mar 2020 04:02:37 +0000 (UTC) Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by mail.kernel.org (Postfix) with ESMTP id A827820714 for ; Thu, 26 Mar 2020 04:02:36 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (1024-bit key) header.d=redhat.com header.i=@redhat.com header.b="NRUJm89n" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org A827820714 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=redhat.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=owner-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix) id 2D2D06B0078; Thu, 26 Mar 2020 00:02:36 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id 25C476B007B; Thu, 26 Mar 2020 00:02:36 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 14B1C6B007D; Thu, 26 Mar 2020 00:02:36 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from forelay.hostedemail.com (smtprelay0050.hostedemail.com [216.40.44.50]) by kanga.kvack.org (Postfix) with ESMTP id EDBC56B0078 for ; Thu, 26 Mar 2020 00:02:35 -0400 (EDT) Received: from smtpin24.hostedemail.com (10.5.19.251.rfc1918.com [10.5.19.251]) by forelay04.hostedemail.com (Postfix) with ESMTP id BDDC553B4 for ; Thu, 26 Mar 2020 04:02:35 +0000 (UTC) X-FDA: 76636166670.24.nose64_33bbec0f68640 X-HE-Tag: nose64_33bbec0f68640 X-Filterd-Recvd-Size: 3543 Received: from us-smtp-delivery-74.mimecast.com (us-smtp-delivery-74.mimecast.com [216.205.24.74]) by imf25.hostedemail.com (Postfix) with ESMTP for ; Thu, 26 Mar 2020 04:02:35 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1585195354; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=nCZVOAI+we4AXCG4GcEDrDdIAY2DXRRQnsZBhAj73FU=; b=NRUJm89n/59aczOrCMF4trbsEsgLLD/9cq0/Tx04hxkXLsCqD6Aa/6sr9W34ZlD8ybUklh ZAp2sQOtiOLI4zEutaD9GKzw5pmhKXFFnoy3AH3WSEpSkrl75oQRwOQWBSaoNyq8i00UqG Yz8/H4An41C/L0EIEzvErhwGQY8ZjsA= Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-419-98MdUwv3MVCtVendpOe4DA-1; Thu, 26 Mar 2020 00:02:33 -0400 X-MC-Unique: 98MdUwv3MVCtVendpOe4DA-1 Received: from smtp.corp.redhat.com (int-mx01.intmail.prod.int.phx2.redhat.com [10.5.11.11]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 94B111005509; Thu, 26 Mar 2020 04:02:31 +0000 (UTC) Received: from localhost (ovpn-12-117.pek2.redhat.com [10.72.12.117]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 7C4F9A0A80; Thu, 26 Mar 2020 04:02:27 +0000 (UTC) Date: Thu, 26 Mar 2020 12:02:24 +0800 From: Baoquan He 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: <20200326040224.GK3039@MiWiFi-R3L-srv> 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> User-Agent: Mutt/1.10.1 (2018-07-13) X-Scanned-By: MIMEDefang 2.79 on 10.5.11.11 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 03/25/20 at 10:26pm, 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 > --- > 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]; Looks good to me. Reviewed-by: Baoquan He