efi/arm64: Store Runtime Services revision
authorSemen Protsenko <semen.protsenko@linaro.org>
Fri, 15 Aug 2014 13:22:44 +0000 (16:22 +0300)
committerMatt Fleming <matt.fleming@intel.com>
Fri, 22 Aug 2014 07:45:41 +0000 (08:45 +0100)
commit6a7519e81321343165f89abb8b616df186d3e57a
tree3e7e673b42ae7665522e22cb3a42bd9d39546c74
parentaee530cfecf4f3ec83b78406bac618cec35853f8
efi/arm64: Store Runtime Services revision

"efi" global data structure contains "runtime_version" field which must
be assigned in order to use it later in Runtime Services virtual calls
(virt_efi_* functions).

Before this patch "runtime_version" was unassigned (0), so each
Runtime Service virtual call that checks revision would fail.

Signed-off-by: Semen Protsenko <semen.protsenko@linaro.org>
Acked-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Cc: <stable@vger.kernel.org>
Signed-off-by: Matt Fleming <matt.fleming@intel.com>
arch/arm64/kernel/efi.c