From 7b8bd69e743379cab166ff42810acad5598fe5a3 Mon Sep 17 00:00:00 2001 From: Konrad Rzeszutek Wilk Date: Fri, 17 Aug 2012 09:35:31 -0400 Subject: [PATCH] --- yaml --- r: 329165 b: refs/heads/master c: 328731876451a837f56e66ffa11de053ed5daf73 h: refs/heads/master i: 329163: f031e2489c99ea4528586c9c64c439403d7bdd66 v: v3 --- [refs] | 2 +- trunk/arch/x86/xen/mmu.c | 4 +++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/[refs] b/[refs] index 702d8287aa7f..f6d741afdcc8 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 3fc509fc0c590900568ef516a37101d88f3476f5 +refs/heads/master: 328731876451a837f56e66ffa11de053ed5daf73 diff --git a/trunk/arch/x86/xen/mmu.c b/trunk/arch/x86/xen/mmu.c index 5b2cb54425ce..cb9db72b33f8 100644 --- a/trunk/arch/x86/xen/mmu.c +++ b/trunk/arch/x86/xen/mmu.c @@ -1238,7 +1238,8 @@ static void __init xen_pagetable_setup_done(pgd_t *base) memblock_free(__pa(xen_start_info->mfn_list), size); /* And revector! Bye bye old array */ xen_start_info->mfn_list = new_mfn_list; - } + } else + goto skip; } /* At this stage, cleanup_highmap has already cleaned __ka space * from _brk_limit way up to the max_pfn_mapped (which is the end of @@ -1259,6 +1260,7 @@ static void __init xen_pagetable_setup_done(pgd_t *base) * anything at this stage. */ xen_cleanhighmap(MODULES_VADDR, roundup(MODULES_VADDR, PUD_SIZE) - 1); #endif +skip: #endif xen_post_allocator_init(); }