summaryrefslogtreecommitdiffstats
path: root/include/linux/mmzone.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux/mmzone.h')
-rw-r--r--include/linux/mmzone.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/include/linux/mmzone.h b/include/linux/mmzone.h
index 46e366aef..17a64200e 100644
--- a/include/linux/mmzone.h
+++ b/include/linux/mmzone.h
@@ -28,7 +28,8 @@ typedef struct zone_struct {
spinlock_t lock;
unsigned long offset;
unsigned long free_pages;
- int low_on_memory;
+ char low_on_memory;
+ char zone_wake_kswapd;
unsigned long pages_min, pages_low, pages_high;
/*
@@ -84,9 +85,11 @@ typedef struct pglist_data {
unsigned long node_start_mapnr;
unsigned long node_size;
int node_id;
+ struct pglist_data *node_next;
} pg_data_t;
extern int numnodes;
+extern pg_data_t *pgdat_list;
#define memclass(pgzone, tzone) (((pgzone)->zone_pgdat == (tzone)->zone_pgdat) \
&& (((pgzone) - (pgzone)->zone_pgdat->node_zones) <= \