diff options
Diffstat (limited to 'include/linux/vmstat.h')
-rw-r--r-- | include/linux/vmstat.h | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/include/linux/vmstat.h b/include/linux/vmstat.h index 2d9b1b60798a..9c6e62c56ec2 100644 --- a/include/linux/vmstat.h +++ b/include/linux/vmstat.h | |||
@@ -124,12 +124,10 @@ static inline unsigned long node_page_state(int node, | |||
124 | struct zone *zones = NODE_DATA(node)->node_zones; | 124 | struct zone *zones = NODE_DATA(node)->node_zones; |
125 | 125 | ||
126 | return | 126 | return |
127 | #ifndef CONFIG_DMA_IS_NORMAL | 127 | #ifdef CONFIG_ZONE_DMA32 |
128 | #if !defined(CONFIG_DMA_IS_DMA32) && BITS_PER_LONG >= 64 | ||
129 | zone_page_state(&zones[ZONE_DMA32], item) + | 128 | zone_page_state(&zones[ZONE_DMA32], item) + |
130 | #endif | 129 | #endif |
131 | zone_page_state(&zones[ZONE_NORMAL], item) + | 130 | zone_page_state(&zones[ZONE_NORMAL], item) + |
132 | #endif | ||
133 | #ifdef CONFIG_HIGHMEM | 131 | #ifdef CONFIG_HIGHMEM |
134 | zone_page_state(&zones[ZONE_HIGHMEM], item) + | 132 | zone_page_state(&zones[ZONE_HIGHMEM], item) + |
135 | #endif | 133 | #endif |