git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8a415b8
)
efi: locking fix in efivar_entry_set_safe()
author
Dan Carpenter
<dan.carpenter@oracle.com>
Tue, 30 Apr 2013 07:43:12 +0000
(10:43 +0300)
committer
Matt Fleming
<matt.fleming@intel.com>
Tue, 30 Apr 2013 15:03:18 +0000
(16:03 +0100)
The intent is that if we aren't allowed to block because we're in an
NMI or an emergency then we only take the lock if it is uncontended.
Part of the problem is the test is reversed so we return -EBUSY if we
acquire the lock.
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Matt Fleming <matt.fleming@intel.com>
No differences found