diff options
| author | Sylvain Chouleur <[email protected]> | 2016-07-15 19:36:29 +0000 |
|---|---|---|
| committer | Matt Fleming <[email protected]> | 2016-09-09 15:08:41 +0000 |
| commit | 217b27d4671a0a3f34147f1b341683d36b7457db (patch) | |
| tree | 0a862c4f0829553ca238482d2c3f383e349d25e2 /lib/ucs2_string.c | |
| parent | efi/arm*: esrt: Add missing call to efi_esrt_init() (diff) | |
| download | kernel-217b27d4671a0a3f34147f1b341683d36b7457db.tar.gz kernel-217b27d4671a0a3f34147f1b341683d36b7457db.zip | |
efi: Use a file local lock for efivars
This patch replaces the spinlock in the efivars struct with a single lock
for the whole vars.c file. The goal of this lock is to protect concurrent
calls to efi variable services, registering and unregistering. This allows
us to register new efivars operations without having in-progress call.
Signed-off-by: Sylvain Chouleur <[email protected]>
Signed-off-by: Ard Biesheuvel <[email protected]>
Cc: Leif Lindholm <[email protected]>
Cc: Mark Rutland <[email protected]>
Cc: Sylvain Chouleur <[email protected]>
Signed-off-by: Matt Fleming <[email protected]>
Diffstat (limited to 'lib/ucs2_string.c')
0 files changed, 0 insertions, 0 deletions
