diff options
author | Ard Biesheuvel <ardb@kernel.org> | 2020-09-23 10:56:14 +0300 |
---|---|---|
committer | Ard Biesheuvel <ardb@kernel.org> | 2020-09-29 20:40:57 +0300 |
commit | 232f4eb6393f42f7f9418560ae9228e747fc6faf (patch) | |
tree | 56ea122e783fb1de4893b84d1b35dfe543f01a23 /include/linux/efi.h | |
parent | b89114cd018cffa5deb7def1844ce1891efd4f96 (diff) | |
download | linux-232f4eb6393f42f7f9418560ae9228e747fc6faf.tar.xz |
efi: pstore: disentangle from deprecated efivars module
The EFI pstore implementation relies on the 'efivars' abstraction,
which encapsulates the EFI variable store in a way that can be
overridden by other backing stores, like the Google SMI one.
On top of that, the EFI pstore implementation also relies on the
efivars.ko module, which is a separate layer built on top of the
'efivars' abstraction that exposes the [deprecated] sysfs entries
for each variable that exists in the backing store.
Since the efivars.ko module is deprecated, and all users appear to
have moved to the efivarfs file system instead, let's prepare for
its removal, by removing EFI pstore's dependency on it.
Signed-off-by: Ard Biesheuvel <ardb@kernel.org>
Diffstat (limited to 'include/linux/efi.h')
-rw-r--r-- | include/linux/efi.h | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/include/linux/efi.h b/include/linux/efi.h index 4a2332f146eb..7066c11ab82f 100644 --- a/include/linux/efi.h +++ b/include/linux/efi.h @@ -986,8 +986,6 @@ struct efivar_entry { bool deleting; }; -extern struct list_head efivar_sysfs_list; - static inline void efivar_unregister(struct efivar_entry *var) { @@ -1045,8 +1043,6 @@ void efivar_run_worker(void); #if defined(CONFIG_EFI_VARS) || defined(CONFIG_EFI_VARS_MODULE) int efivars_sysfs_init(void); -#define EFIVARS_DATA_SIZE_MAX 1024 - #endif /* CONFIG_EFI_VARS */ extern bool efi_capsule_pending(int *reset_type); |