diff options
author | Ard Biesheuvel <ardb@kernel.org> | 2020-09-23 10:07:49 +0200 |
---|---|---|
committer | Ard Biesheuvel <ardb@kernel.org> | 2020-09-29 19:40:57 +0200 |
commit | c9b51a2dbfe7f47643e133bf48e1bf28f1b85d2a (patch) | |
tree | 89c10bc6f1d281ccfbbb93f00438f161e7ba8881 /include/linux/efi.h | |
parent | 232f4eb6393f42f7f9418560ae9228e747fc6faf (diff) | |
download | linux-stable-c9b51a2dbfe7f47643e133bf48e1bf28f1b85d2a.tar.gz linux-stable-c9b51a2dbfe7f47643e133bf48e1bf28f1b85d2a.tar.bz2 linux-stable-c9b51a2dbfe7f47643e133bf48e1bf28f1b85d2a.zip |
efi: pstore: move workqueue handling out of efivars
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: Ard Biesheuvel <ardb@kernel.org>
Diffstat (limited to 'include/linux/efi.h')
-rw-r--r-- | include/linux/efi.h | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/include/linux/efi.h b/include/linux/efi.h index 7066c11ab82f..ab8c80331217 100644 --- a/include/linux/efi.h +++ b/include/linux/efi.h @@ -1037,9 +1037,6 @@ bool efivar_validate(efi_guid_t vendor, efi_char16_t *var_name, u8 *data, bool efivar_variable_is_removable(efi_guid_t vendor, const char *name, size_t len); -extern struct work_struct efivar_work; -void efivar_run_worker(void); - #if defined(CONFIG_EFI_VARS) || defined(CONFIG_EFI_VARS_MODULE) int efivars_sysfs_init(void); |