lkml.org 
[lkml]   [2020]   [Mar]   [26]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] mm: Remove dummy struct bootmem_data/bootmem_data_t
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 <longman@redhat.com>

Acked-by: Mike Rapoport <rppt@linux.ibm.com>

> ---
> 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 <asm/smp.h>
>
> -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.

\
 
 \ /
  Last update: 2020-03-26 15:26    [W:0.084 / U:5.044 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site