From: Jeremy Kerr Date: Thu, 11 Oct 2012 13:19:11 +0000 (+0800) Subject: efivarfs: Implement exclusive access for {get,set}_variable X-Git-Tag: omap-for-v3.8/fixes-for-merge-window-v4-signed~16^2~10 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f5f6a60ad52fc786c517303590f1efaea614c69b;p=pandora-kernel.git efivarfs: Implement exclusive access for {get,set}_variable Currently, efivarfs does not enforce exclusion over the get_variable and set_variable operations. Section 7.1 of UEFI requires us to only allow a single processor to enter {get,set}_variable services at once. This change acquires the efivars->lock over calls to these operations from the efivarfs paths. Signed-off-by: Jeremy Kerr Signed-off-by: Matt Fleming --- Reading git-diff-tree failed