diff options
author | Jeremy Kerr <[email protected]> | 2012-10-11 21:19:11 +0800 |
---|---|---|
committer | Matt Fleming <[email protected]> | 2012-10-30 10:39:24 +0000 |
commit | f5f6a60ad52fc786c517303590f1efaea614c69b (patch) | |
tree | bb8d8ed9304fea80c240273406385a4e04c2182f /tools/perf/util/trace-event-scripting.c | |
parent | 5ba6e2919b9e18a051e5bdd6c21f52ee4976513f (diff) |
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 <[email protected]>
Signed-off-by: Matt Fleming <[email protected]>
Diffstat (limited to 'tools/perf/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions