summaryrefslogtreecommitdiffstats
path: root/fs/efivarfs
diff options
context:
space:
mode:
authorSylvain Chouleur2016-07-15 21:36:29 +0200
committerMatt Fleming2016-09-09 17:08:41 +0200
commit217b27d4671a0a3f34147f1b341683d36b7457db (patch)
tree0a862c4f0829553ca238482d2c3f383e349d25e2 /fs/efivarfs
parentefi/arm*: esrt: Add missing call to efi_esrt_init() (diff)
downloadkernel-qcow2-linux-217b27d4671a0a3f34147f1b341683d36b7457db.tar.gz
kernel-qcow2-linux-217b27d4671a0a3f34147f1b341683d36b7457db.tar.xz
kernel-qcow2-linux-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 <sylvain.chouleur@intel.com> Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org> Cc: Leif Lindholm <leif.lindholm@linaro.org> Cc: Mark Rutland <mark.rutland@arm.com> Cc: Sylvain Chouleur <sylvain.chouleur@gmail.com> Signed-off-by: Matt Fleming <matt@codeblueprint.co.uk>
Diffstat (limited to 'fs/efivarfs')
0 files changed, 0 insertions, 0 deletions