aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorRafael J. Wysocki <rjw@sisk.pl>2007-05-06 17:50:43 -0400
committerLinus Torvalds <torvalds@woody.linux-foundation.org>2007-05-07 15:12:59 -0400
commit04293355ac9dbe81bd01b89ca2adb58be34c2c60 (patch)
treefa5d893fee14e27056cac71dd3e3fed9fe2167a9 /include
parent74dfd666de861c97d47bdbd892f6d21b801d0247 (diff)
mm: remove unused page flags
Remove the two page flags that were previously used by swsusp and are no longer needed. Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl> Acked-by: Pavel Machek <pavel@ucw.cz> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'include')
-rw-r--r--include/linux/page-flags.h12
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)