diff options
author | Matt Fleming <matt.fleming@intel.com> | 2014-01-15 14:49:51 +0100 |
---|---|---|
committer | Matt Fleming <matt.fleming@intel.com> | 2014-03-04 17:17:20 +0100 |
commit | 092063808c498eccac8e891973bf143e7b60d723 (patch) | |
tree | fd07996db565ebe33beb787c524b877ddd73577a /drivers/firmware/efi | |
parent | x86/efi: Split efi_enter_virtual_mode (diff) | |
download | linux-092063808c498eccac8e891973bf143e7b60d723.tar.xz linux-092063808c498eccac8e891973bf143e7b60d723.zip |
ia64/efi: Implement efi_enabled()
There's no good reason to keep efi_enabled() under CONFIG_X86 anymore,
since nothing about the implementation is specific to x86.
Set EFI feature flags in the ia64 boot path instead of claiming to
support all features. The old behaviour was actually buggy since
efi.memmap never points to a valid memory map, so we shouldn't be
claiming to support EFI_MEMMAP.
Fortunately, this bug was never triggered because EFI_MEMMAP isn't used
outside of arch/x86 currently, but that may not always be the case.
Reviewed-and-tested-by: Tony Luck <tony.luck@intel.com>
Signed-off-by: Matt Fleming <matt.fleming@intel.com>
Diffstat (limited to 'drivers/firmware/efi')
0 files changed, 0 insertions, 0 deletions