diff --git a/include/linux/mmzone.h b/include/linux/mmzone.h index c211d7a7d031..855609f89653 100644 --- a/include/linux/mmzone.h +++ b/include/linux/mmzone.h @@ -452,7 +452,7 @@ struct zone { */ long lowmem_reserve[MAX_NR_ZONES]; -#ifdef CONFIG_NUMA +#ifdef CONFIG_NEED_MULTIPLE_NODES int node; #endif struct pglist_data *zone_pgdat; @@ -915,7 +915,7 @@ static inline bool populated_zone(struct zone *zone) return zone->present_pages; } -#ifdef CONFIG_NUMA +#ifdef CONFIG_NEED_MULTIPLE_NODES static inline int zone_to_nid(struct zone *zone) { return zone->node;