summaryrefslogtreecommitdiffstats
path: root/arch/i386/mm/init.c
diff options
context:
space:
mode:
authorBadari Pulavarty <pbadari@us.ibm.com>2005-06-22 02:14:52 +0200
committerLinus Torvalds <torvalds@ppc970.osdl.org>2005-06-22 03:46:17 +0200
commitcbe37d093707762fc0abb280781e6a82a9d8d568 (patch)
tree8af4a268765346655291f1ef27df12d11825269c /arch/i386/mm/init.c
parent[PATCH] mmap topdown fix for large stack limit, large allocation (diff)
downloadlinux-cbe37d093707762fc0abb280781e6a82a9d8d568.tar.xz
linux-cbe37d093707762fc0abb280781e6a82a9d8d568.zip
[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/i386/mm/init.c')
-rw-r--r--arch/i386/mm/init.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/arch/i386/mm/init.c b/arch/i386/mm/init.c
index 7a7ea3737265..8766c771bb45 100644
--- a/arch/i386/mm/init.c
+++ b/arch/i386/mm/init.c
@@ -269,7 +269,6 @@ void __init one_highpage_init(struct page *page, int pfn, int bad_ppro)
{
if (page_is_ram(pfn) && !(bad_ppro && page_kills_ppro(pfn))) {
ClearPageReserved(page);
- set_bit(PG_highmem, &page->flags);
set_page_count(page, 1);
__free_page(page);
totalhigh_pages++;