On Wed, 07 Sep, at 10:56:24AM, Peter Jones wrote: > The system table's hdr.revision is not the runtime services revision, > it's the EFI Spec revision. The runtime services revision is the one on > systab->runtime->hdr.revision. > > So we shouldn't call it runtime_version throughout the code, as that's > misleading if you're *actually* looking for the runtime services > revision. > > We also move some of the assignments around just a bit, in support of > making a future patch more readable. > > This also fixes a minor bug where the version field was not set in the > efi structure on ia64. > > Signed-off-by: Peter Jones <pjones@xxxxxxxxxx> > Reviewed-by: Lukas Wunner <lukas@xxxxxxxxx> > --- > arch/ia64/kernel/efi.c | 3 +++ > arch/x86/platform/efi/efi.c | 7 ++++--- > arch/x86/platform/efi/efi_64.c | 2 +- > arch/x86/xen/efi.c | 4 ++-- > drivers/firmware/efi/arm-init.c | 5 +++-- > drivers/firmware/efi/runtime-wrappers.c | 8 ++++---- > drivers/xen/efi.c | 6 +++--- > include/linux/efi.h | 2 +- > 8 files changed, 21 insertions(+), 16 deletions(-) > > diff --git a/arch/ia64/kernel/efi.c b/arch/ia64/kernel/efi.c > index 1212956..2af99a8 100644 > --- a/arch/ia64/kernel/efi.c > +++ b/arch/ia64/kernel/efi.c > @@ -513,6 +513,9 @@ efi_init (void) > panic("Whoa! Can't find EFI system table.\n"); > if (efi.systab->hdr.signature != EFI_SYSTEM_TABLE_SIGNATURE) > panic("Whoa! EFI system table signature incorrect\n"); > + > + efi.spec_version = efi.systab->hdr.version; > + > if ((efi.systab->hdr.revision >> 16) == 0) > printk(KERN_WARNING "Warning: EFI system table version " > "%d.%02d, expected 1.00 or greater\n", I applied this and fixed up the above typo s/hdr.version/hdr.revision/ -- To unsubscribe from this list: send the line "unsubscribe linux-efi" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html