diff options
Diffstat (limited to 'mm/page_alloc.c')
| -rw-r--r-- | mm/page_alloc.c | 4 | 
1 files changed, 2 insertions, 2 deletions
diff --git a/mm/page_alloc.c b/mm/page_alloc.c index 2db95780e003..33ca8cab21e6 100644 --- a/mm/page_alloc.c +++ b/mm/page_alloc.c @@ -128,7 +128,7 @@ static DEFINE_MUTEX(pcp_batch_high_lock);  struct pagesets {  	local_lock_t lock;  }; -static DEFINE_PER_CPU(struct pagesets, pagesets) __maybe_unused = { +static DEFINE_PER_CPU(struct pagesets, pagesets) = {  	.lock = INIT_LOCAL_LOCK(lock),  }; @@ -6131,7 +6131,7 @@ static int build_zonerefs_node(pg_data_t *pgdat, struct zoneref *zonerefs)  	do {  		zone_type--;  		zone = pgdat->node_zones + zone_type; -		if (managed_zone(zone)) { +		if (populated_zone(zone)) {  			zoneref_set_zone(zone, &zonerefs[nr_zones++]);  			check_highest_zone(zone_type);  		}  | 
