From: Seiji Aguchi Date: Tue, 24 Jul 2012 13:27:23 +0000 (+0000) Subject: efi: initialize efi.runtime_version to make query_variable_info/update_capsule workable X-Git-Tag: omap-for-v3.7-rc1/fixes-cpufreq-signed~87^2~3^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d6cf86d8f23253225fe2a763d627ecf7dfee9dae;p=pandora-kernel.git efi: initialize efi.runtime_version to make query_variable_info/update_capsule workable A value of efi.runtime_version is checked before calling update_capsule()/query_variable_info() as follows. But it isn't initialized anywhere. static efi_status_t virt_efi_query_variable_info(u32 attr, u64 *storage_space, u64 *remaining_space, u64 *max_variable_size) { if (efi.runtime_version < EFI_2_00_SYSTEM_TABLE_REVISION) return EFI_UNSUPPORTED; This patch initializes a value of efi.runtime_version at boot time. Signed-off-by: Seiji Aguchi Acked-by: Matthew Garrett Signed-off-by: Matt Fleming --- Reading git-diff-tree failed