Messages in this thread | | | From | Geert Uytterhoeven <> | Date | Sat, 2 Jul 2016 10:18:30 +0200 | Subject | Re: [PATCH v5 6/8] efi: load SSTDs from EFI variables |
| |
On Fri, Jul 1, 2016 at 10:19 PM, Octavian Purdila <octavian.purdila@intel.com> wrote: > --- a/drivers/firmware/efi/efi.c > +++ b/drivers/firmware/efi/efi.c
> @@ -195,6 +198,85 @@ static void generic_ops_unregister(void) > efivars_unregister(&generic_efivars); > } > > +#if IS_ENABLED(CONFIG_ACPI) > +#define EFIVAR_SSDT_NAME_MAX 16 > +static char efivar_ssdt[EFIVAR_SSDT_NAME_MAX];
I think efivar_ssdt[] is used from __init functions only, so it can be __initdata.
Gr{oetje,eeting}s,
Geert
-- Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org
In personal conversations with technical people, I call myself a hacker. But when I'm talking to journalists I just say "programmer" or something like that. -- Linus Torvalds
| |