From: Andi Kleen <[EMAIL PROTECTED]>

[PATCH 3/4] x86_64: Use early reservation for early node data

Signed-off-by: Andi Kleen <[EMAIL PROTECTED]>
Signed-off-by: Yinghai Lu <[EMAIL PROTECTED]>

===================================================================
--- linux.orig/arch/x86/mm/numa_64.c
+++ linux/arch/x86/mm/numa_64.c
@@ -175,6 +175,7 @@
                 * with bss section
                 */
                mem = round_up(mem, PAGE_SIZE);
+               reserve_early(mem, mem + size);
                return __va(mem);
        }
        ptr = __alloc_bootmem_nopanic(size,
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Reply via email to