mm: Remove dummy struct bootmem_data/bootmem_data_t
Subsystems (4)
PATCH 1/1 mm: Remove dummy struct bootmem_data/bootmem_data_t
Both bootmem_data and bootmem_data_t structures are no longer defined. Remove the dummy forward declarations.
Signed-off-by Waiman Long <[email protected]>
--- arch/alpha/include/asm/mmzone.h | 2 -- include/linux/mmzone.h | 1 - 2 files changed, 3 deletions(-)
arch/alpha/include/asm/mmzone.h +0 -2
@@ -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. */
include/linux/mmzone.h +0 -1
@@ -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];
Signature · 1 line
2.18.1
Quoted 27 lines · Waiman Long
Both
bootmem_dataandbootmem_data_tstructures are no longer defined. Remove the dummy forward declarations.Signed-off-by Waiman Long <[email protected]>--- arch/alpha/include/asm/mmzone.h | 2 -- include/linux/mmzone.h | 1 - 2 files changed, 3 deletions(-)arch/alpha/include/asm/mmzone.h +0
-2@@ -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. */ include/linux/mmzone.h +0
-0
include/linux/mmzone.h struct deferred_split { · line 711
Quoted 7 lines
include/linux/mmzone.h +0
-1@@ -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 <[email protected]>
Quoted 4 lines · Waiman Long
Both
bootmem_dataandbootmem_data_tstructures are no longer defined. Remove the dummy forward declarations.Signed-off-by Waiman Long <[email protected]>
Acked-by Mike Rapoport <[email protected]>
Quoted 34 lines
--- arch/alpha/include/asm/mmzone.h | 2 -- include/linux/mmzone.h | 1 - 2 files changed, 3 deletions(-)arch/alpha/include/asm/mmzone.h +0
-2@@ -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. */ include/linux/mmzone.h +0
-1@@ -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];Signature · 1 line
2.18.1
Signature · 2 lines
Sincerely yours, Mike.