diff options
Diffstat (limited to 'include/linux/efi.h')
-rw-r--r-- | include/linux/efi.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/linux/efi.h b/include/linux/efi.h index 8b84916dc671..d0c68aee0925 100644 --- a/include/linux/efi.h +++ b/include/linux/efi.h | |||
@@ -728,7 +728,8 @@ struct efivars { | |||
728 | * 1) ->list - adds, removals, reads, writes | 728 | * 1) ->list - adds, removals, reads, writes |
729 | * 2) ops.[gs]et_variable() calls. | 729 | * 2) ops.[gs]et_variable() calls. |
730 | * It must not be held when creating sysfs entries or calling kmalloc. | 730 | * It must not be held when creating sysfs entries or calling kmalloc. |
731 | * ops.get_next_variable() is only called from register_efivars(), | 731 | * ops.get_next_variable() is only called from register_efivars() |
732 | * or efivar_update_sysfs_entries(), | ||
732 | * which is protected by the BKL, so that path is safe. | 733 | * which is protected by the BKL, so that path is safe. |
733 | */ | 734 | */ |
734 | spinlock_t lock; | 735 | spinlock_t lock; |