diff options
Diffstat (limited to 'include/linux/mmzone.h')
-rw-r--r-- | include/linux/mmzone.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/linux/mmzone.h b/include/linux/mmzone.h index 4062fa74526f..895c365e3259 100644 --- a/include/linux/mmzone.h +++ b/include/linux/mmzone.h | |||
@@ -739,9 +739,9 @@ static inline spinlock_t *zone_lru_lock(struct zone *zone) | |||
739 | return &zone->zone_pgdat->lru_lock; | 739 | return &zone->zone_pgdat->lru_lock; |
740 | } | 740 | } |
741 | 741 | ||
742 | static inline struct lruvec *zone_lruvec(struct zone *zone) | 742 | static inline struct lruvec *node_lruvec(struct pglist_data *pgdat) |
743 | { | 743 | { |
744 | return &zone->zone_pgdat->lruvec; | 744 | return &pgdat->lruvec; |
745 | } | 745 | } |
746 | 746 | ||
747 | static inline unsigned long pgdat_end_pfn(pg_data_t *pgdat) | 747 | static inline unsigned long pgdat_end_pfn(pg_data_t *pgdat) |