From 31b83e0b4152ee9871945ba808a0513e1f0cb68a Mon Sep 17 00:00:00 2001 From: NAKAMURA Gou Date: Fri, 17 May 2013 11:57:17 +0900 Subject: [PATCH] stop early_alloc_page correctly (bug#17) --- arch/x86/kernel/memory.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/x86/kernel/memory.c b/arch/x86/kernel/memory.c index a1bf7eb1..03239e6b 100644 --- a/arch/x86/kernel/memory.c +++ b/arch/x86/kernel/memory.c @@ -683,7 +683,7 @@ void ihk_mc_reserve_arch_pages(unsigned long start, unsigned long end, void ihk_mc_set_page_allocator(struct ihk_mc_pa_ops *ops) { - last_page = NULL; + last_page = (void *)-1; pa_ops = ops; }