aboutsummaryrefslogtreecommitdiffstats
path: root/mm
diff options
context:
space:
mode:
authorChristoph Lameter <clameter@sgi.com>2008-04-28 05:12:52 -0400
committerLinus Torvalds <torvalds@linux-foundation.org>2008-04-28 11:58:22 -0400
commit0a128b2b1a5e8ebce0260e3345812ee70daccc7f (patch)
treea2ce711ea77ef4677cad4f613112b8d7b88b7e28 /mm
parentd60cd46bbdc5a79d9a177e40009f960e44f0e334 (diff)
pageflags: eliminate PG_xxx aliases
Remove aliases of PG_xxx. We can easily drop those now and alias by specifying the PG_xxx flag in the macro that generates the functions. Signed-off-by: Christoph Lameter <clameter@sgi.com> Cc: Andy Whitcroft <apw@shadowen.org> Cc: KAMEZAWA Hiroyuki <kamezawa.hiroyu@jp.fujitsu.com> Cc: KOSAKI Motohiro <kosaki.motohiro@jp.fujitsu.com> Cc: Rik van Riel <riel@redhat.com> Cc: Mel Gorman <mel@csn.ul.ie> Cc: Jeremy Fitzhardinge <jeremy@goop.org> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'mm')
-rw-r--r--mm/page_alloc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mm/page_alloc.c b/mm/page_alloc.c
index af28e2cec8b4..e0fc3baba843 100644
--- a/mm/page_alloc.c
+++ b/mm/page_alloc.c
@@ -632,7 +632,7 @@ static int prep_new_page(struct page *page, int order, gfp_t gfp_flags)
632 if (PageReserved(page)) 632 if (PageReserved(page))
633 return 1; 633 return 1;
634 634
635 page->flags &= ~(1 << PG_uptodate | 1 << PG_error | 1 << PG_readahead | 635 page->flags &= ~(1 << PG_uptodate | 1 << PG_error | 1 << PG_reclaim |
636 1 << PG_referenced | 1 << PG_arch_1 | 636 1 << PG_referenced | 1 << PG_arch_1 |
637 1 << PG_owner_priv_1 | 1 << PG_mappedtodisk); 637 1 << PG_owner_priv_1 | 1 << PG_mappedtodisk);
638 set_page_private(page, 0); 638 set_page_private(page, 0);