Re: [PATCH v7 09/12] efi: passing kexec necessary efi data via setup_data

Dave Young
2013-12-30T01:38:51Z

On 12/29/13 at 01:05pm, Matt Fleming wrote:
> On Wed, 25 Dec, at 11:32:05AM, Dave Young wrote:
> >
> > Matt, if you want to remove the map[0] please fold below one line
> > patch? I have no strong opinion.
> >
> > Index: linux/arch/x86/include/asm/efi.h
> > ===================================================================
> > --- linux.orig/arch/x86/include/asm/efi.h
> > +++ linux/arch/x86/include/asm/efi.h
> > @@ -139,7 +139,6 @@ struct efi_setup_data {
> > u64 tables;
> > u64 smbios;
> > u64 reserved[8];
> > - efi_memory_desc_t map[0];
> > };
> >
> > extern u64 efi_setup;
>
> Thanks Dave, I will fold this in. I would suggest updating your
> kexec-tools patches so that the two structures are in sync.

Sure, since it is removed in kernel I will update kexec-tools.

Thanks
Dave
>
> --
> Matt Fleming, Intel Open Source Technology Center