aboutsummaryrefslogtreecommitdiffstats
path: root/arch/ppc/mm/init.c
diff options
context:
space:
mode:
authorBadari Pulavarty <pbadari@us.ibm.com>2005-06-21 20:14:52 -0400
committerLinus Torvalds <torvalds@ppc970.osdl.org>2005-06-21 21:46:17 -0400
commitcbe37d093707762fc0abb280781e6a82a9d8d568 (patch)
tree8af4a268765346655291f1ef27df12d11825269c /arch/ppc/mm/init.c
parent73219d178051691a56d57184d8c7f6d0cbe3c5c1 (diff)
[PATCH] mm: remove PG_highmem
Remove PG_highmem, to save a page flag. Use is_highmem() instead. It'll generate a little more code, but we don't use PageHigheMem() in many places. Signed-off-by: Badari Pulavarty <pbadari@us.ibm.com> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'arch/ppc/mm/init.c')
-rw-r--r--arch/ppc/mm/init.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/arch/ppc/mm/init.c b/arch/ppc/mm/init.c
index 363c157e3617..c8529d004cfa 100644
--- a/arch/ppc/mm/init.c
+++ b/arch/ppc/mm/init.c
@@ -469,7 +469,6 @@ void __init mem_init(void)
469 struct page *page = mem_map + pfn; 469 struct page *page = mem_map + pfn;
470 470
471 ClearPageReserved(page); 471 ClearPageReserved(page);
472 set_bit(PG_highmem, &page->flags);
473 set_page_count(page, 1); 472 set_page_count(page, 1);
474 __free_page(page); 473 __free_page(page);
475 totalhigh_pages++; 474 totalhigh_pages++;