diff options
author | Badari Pulavarty <pbadari@us.ibm.com> | 2005-06-21 20:14:52 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@ppc970.osdl.org> | 2005-06-21 21:46:17 -0400 |
commit | cbe37d093707762fc0abb280781e6a82a9d8d568 (patch) | |
tree | 8af4a268765346655291f1ef27df12d11825269c /arch/mips/mm | |
parent | 73219d178051691a56d57184d8c7f6d0cbe3c5c1 (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/mips/mm')
-rw-r--r-- | arch/mips/mm/init.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/arch/mips/mm/init.c b/arch/mips/mm/init.c index b027ce7efbc6..73843c528778 100644 --- a/arch/mips/mm/init.c +++ b/arch/mips/mm/init.c | |||
@@ -232,7 +232,6 @@ void __init mem_init(void) | |||
232 | #ifdef CONFIG_LIMITED_DMA | 232 | #ifdef CONFIG_LIMITED_DMA |
233 | set_page_address(page, lowmem_page_address(page)); | 233 | set_page_address(page, lowmem_page_address(page)); |
234 | #endif | 234 | #endif |
235 | set_bit(PG_highmem, &page->flags); | ||
236 | set_page_count(page, 1); | 235 | set_page_count(page, 1); |
237 | __free_page(page); | 236 | __free_page(page); |
238 | totalhigh_pages++; | 237 | totalhigh_pages++; |