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>
This commit is contained in:
committed by
Linus Torvalds
parent
d60cd46bbd
commit
0a128b2b1a
@ -632,7 +632,7 @@ static int prep_new_page(struct page *page, int order, gfp_t gfp_flags)
|
||||
if (PageReserved(page))
|
||||
return 1;
|
||||
|
||||
page->flags &= ~(1 << PG_uptodate | 1 << PG_error | 1 << PG_readahead |
|
||||
page->flags &= ~(1 << PG_uptodate | 1 << PG_error | 1 << PG_reclaim |
|
||||
1 << PG_referenced | 1 << PG_arch_1 |
|
||||
1 << PG_owner_priv_1 | 1 << PG_mappedtodisk);
|
||||
set_page_private(page, 0);
|
||||
|
Reference in New Issue
Block a user