From: David Vrabel Date: Tue, 12 Nov 2013 10:37:19 +0000 (+0100) Subject: x86: give FIX_EFI_MPF its own fixmap entry X-Git-Tag: archive/raspbian/4.8.0-1+rpi1~1^2~5996 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=fb238512c13852d53578bffa763a99e2fb2425ce;p=xen.git x86: give FIX_EFI_MPF its own fixmap entry FIX_EFI_MPF was the same as FIX_KEXEC_BASE_0 which is going away. So add its own entry. Signed-off-by: David Vrabel Reviewed-by: Daniel Kiper Tested-by: Daniel Kiper Reviewed-by: Andrew Cooper Reviewed-by: Don Slutz Tested-by: Don Slutz Acked-by: Keir Fraser --- diff --git a/xen/arch/x86/mpparse.c b/xen/arch/x86/mpparse.c index 97d34bc59d..3753704f75 100644 --- a/xen/arch/x86/mpparse.c +++ b/xen/arch/x86/mpparse.c @@ -538,8 +538,6 @@ static inline void __init construct_default_ISA_mptable(int mpc_default_type) } } -#define FIX_EFI_MPF FIX_KEXEC_BASE_0 - static __init void efi_unmap_mpf(void) { if (efi_enabled) diff --git a/xen/include/asm-x86/fixmap.h b/xen/include/asm-x86/fixmap.h index d850be4afc..8b4266dc6f 100644 --- a/xen/include/asm-x86/fixmap.h +++ b/xen/include/asm-x86/fixmap.h @@ -66,6 +66,7 @@ enum fixed_addresses { FIX_APEI_RANGE_BASE, FIX_APEI_RANGE_END = FIX_APEI_RANGE_BASE + FIX_APEI_RANGE_MAX -1, FIX_IGD_MMIO, + FIX_EFI_MPF, __end_of_fixed_addresses };