diff options
Diffstat (limited to 'include/linux/page-flags.h')
-rw-r--r-- | include/linux/page-flags.h | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/include/linux/page-flags.h b/include/linux/page-flags.h index a3c8b60a9c3a..ae2d79f2107e 100644 --- a/include/linux/page-flags.h +++ b/include/linux/page-flags.h | |||
@@ -83,13 +83,11 @@ | |||
83 | #define PG_private 11 /* If pagecache, has fs-private data */ | 83 | #define PG_private 11 /* If pagecache, has fs-private data */ |
84 | 84 | ||
85 | #define PG_writeback 12 /* Page is under writeback */ | 85 | #define PG_writeback 12 /* Page is under writeback */ |
86 | #define PG_nosave 13 /* Used for system suspend/resume */ | ||
87 | #define PG_compound 14 /* Part of a compound page */ | 86 | #define PG_compound 14 /* Part of a compound page */ |
88 | #define PG_swapcache 15 /* Swap page: swp_entry_t in private */ | 87 | #define PG_swapcache 15 /* Swap page: swp_entry_t in private */ |
89 | 88 | ||
90 | #define PG_mappedtodisk 16 /* Has blocks allocated on-disk */ | 89 | #define PG_mappedtodisk 16 /* Has blocks allocated on-disk */ |
91 | #define PG_reclaim 17 /* To be reclaimed asap */ | 90 | #define PG_reclaim 17 /* To be reclaimed asap */ |
92 | #define PG_nosave_free 18 /* Used for system suspend/resume */ | ||
93 | #define PG_buddy 19 /* Page is free, on buddy lists */ | 91 | #define PG_buddy 19 /* Page is free, on buddy lists */ |
94 | 92 | ||
95 | /* PG_owner_priv_1 users should have descriptive aliases */ | 93 | /* PG_owner_priv_1 users should have descriptive aliases */ |
@@ -215,16 +213,6 @@ static inline void SetPageUptodate(struct page *page) | |||
215 | ret; \ | 213 | ret; \ |
216 | }) | 214 | }) |
217 | 215 | ||
218 | #define PageNosave(page) test_bit(PG_nosave, &(page)->flags) | ||
219 | #define SetPageNosave(page) set_bit(PG_nosave, &(page)->flags) | ||
220 | #define TestSetPageNosave(page) test_and_set_bit(PG_nosave, &(page)->flags) | ||
221 | #define ClearPageNosave(page) clear_bit(PG_nosave, &(page)->flags) | ||
222 | #define TestClearPageNosave(page) test_and_clear_bit(PG_nosave, &(page)->flags) | ||
223 | |||
224 | #define PageNosaveFree(page) test_bit(PG_nosave_free, &(page)->flags) | ||
225 | #define SetPageNosaveFree(page) set_bit(PG_nosave_free, &(page)->flags) | ||
226 | #define ClearPageNosaveFree(page) clear_bit(PG_nosave_free, &(page)->flags) | ||
227 | |||
228 | #define PageBuddy(page) test_bit(PG_buddy, &(page)->flags) | 216 | #define PageBuddy(page) test_bit(PG_buddy, &(page)->flags) |
229 | #define __SetPageBuddy(page) __set_bit(PG_buddy, &(page)->flags) | 217 | #define __SetPageBuddy(page) __set_bit(PG_buddy, &(page)->flags) |
230 | #define __ClearPageBuddy(page) __clear_bit(PG_buddy, &(page)->flags) | 218 | #define __ClearPageBuddy(page) __clear_bit(PG_buddy, &(page)->flags) |