lkml.org 
[lkml]   [2016]   [Jul]   [2]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Date
SubjectRe: [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

\
 
 \ /
  Last update: 2016-07-02 11:01    [W:0.137 / U:15.520 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site