• Ard Biesheuvel's avatar
    efi: pstore: move workqueue handling out of efivars · c9b51a2d
    Ard Biesheuvel authored
    The worker thread that gets kicked off to sync the state of the
    EFI variable list is only used by the EFI pstore implementation,
    and is defined in its source file. So let's move its scheduling
    there as well. Since our efivar_init() scan will bail on duplicate
    entries, there is no need to disable the workqueue like we did
    before, so we can run it unconditionally.
    Signed-off-by: default avatarArd Biesheuvel <ardb@kernel.org>
    c9b51a2d
efi-pstore.c 10.7 KB