[PATCH] i386: fix broken highmem

From: Dave Hansen
Date: Fri Sep 09 2005 - 10:27:40 EST



This is in response to:
Subject: Re: 2.6.13-mm2 high memory support borken?

This should fix it. It was simply missing the call to free_new_highpage.

Signed-off-by: Dave Hansen <haveblue@xxxxxxxxxx>
---

memhotplug-dave/arch/i386/mm/init.c | 1 +
1 files changed, 1 insertion(+)

diff -puN arch/i386/mm/init.c~highmem-debug arch/i386/mm/init.c
--- memhotplug/arch/i386/mm/init.c~highmem-debug 2005-09-09 08:22:30.000000000 -0700
+++ memhotplug-dave/arch/i386/mm/init.c 2005-09-09 08:22:30.000000000 -0700
@@ -278,6 +278,7 @@ void __init add_one_highpage_init(struct
{
if (page_is_ram(pfn) && !(bad_ppro && page_kills_ppro(pfn))) {
ClearPageReserved(page);
+ free_new_highpage(page);
} else
SetPageReserved(page);
}
_
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/