x86, efi: Set runtime_version to the EFI spec revision
authorMatt Fleming <matt.fleming@intel.com>
Fri, 25 Jan 2013 10:07:25 +0000 (10:07 +0000)
committerMatt Fleming <matt.fleming@intel.com>
Fri, 25 Jan 2013 12:00:16 +0000 (12:00 +0000)
commit712ba9e9afc4b3d3d6fa81565ca36fe518915c01
treed9ad0cef235c0ec025621fe1d86f9d804a21ab8f
parentbc754790f932f3466ec521ee792da2791e7003ae
x86, efi: Set runtime_version to the EFI spec revision

efi.runtime_version is erroneously being set to the value of the
vendor's firmware revision instead of that of the implemented EFI
specification. We can't deduce which EFI functions are available based
on the revision of the vendor's firmware since the version scheme is
likely to be unique to each vendor.

What we really need to know is the revision of the implemented EFI
specification, which is available in the EFI System Table header.

Cc: Seiji Aguchi <seiji.aguchi@hds.com>
Cc: Matthew Garrett <mjg59@srcf.ucam.org>
Cc: stable@vger.kernel.org # 3.7.x
Signed-off-by: Matt Fleming <matt.fleming@intel.com>
arch/x86/platform/efi/efi.c