arch/x86: Do not access EFI memory map if it is not available
authorDaniel Kiper <daniel.kiper@oracle.com>
Mon, 30 Jun 2014 17:52:57 +0000 (19:52 +0200)
committerMatt Fleming <matt.fleming@intel.com>
Fri, 18 Jul 2014 20:23:54 +0000 (21:23 +0100)
commit67a9b9c53cafd3f391dccc84a3af45334c6267fc
tree6b3d88f0a51007c51b0958b44fda262bcafb454a
parentabc93f8eb6e46a480485f19256bdbda36ec78a84
arch/x86: Do not access EFI memory map if it is not available

Do not access EFI memory map if it is not available. At least
Xen dom0 EFI implementation does not have an access to it.

Signed-off-by: Daniel Kiper <daniel.kiper@oracle.com>
Signed-off-by: Matt Fleming <matt.fleming@intel.com>
arch/x86/platform/efi/efi.c