debuggers.hg

changeset 19953:4b6e4bb7b7b4

x86_64: Fix Xen relocation size -- there is no longer an allocation
bitmap to account for.

Signed-off-by: Keir Fraser <keir.fraser@citrix.com>
author Keir Fraser <keir.fraser@citrix.com>
date Thu Jul 09 08:52:31 2009 +0100 (2009-07-09)
parents d6c1d7992f43
children f964ec304363
files xen/arch/x86/setup.c
line diff
     1.1 --- a/xen/arch/x86/setup.c	Wed Jul 08 22:08:31 2009 +0100
     1.2 +++ b/xen/arch/x86/setup.c	Thu Jul 09 08:52:31 2009 +0100
     1.3 @@ -646,8 +646,7 @@ void __init __start_xen(unsigned long mb
     1.4              s >> PAGE_SHIFT, (e-s) >> PAGE_SHIFT, PAGE_HYPERVISOR);
     1.5  
     1.6  #if defined(CONFIG_X86_64)
     1.7 -/* Relocate Xen image, allocation bitmap, and one page of padding. */
     1.8 -#define reloc_size ((__pa(&_end) + max_page/8 + PAGE_SIZE + mask) & ~mask)
     1.9 +#define reloc_size ((__pa(&_end) + mask) & ~mask)
    1.10          /* Is the region suitable for relocating Xen? */
    1.11          if ( !xen_phys_start && ((e-s) >= reloc_size) )
    1.12          {