Skip to content
Commit 8c5a1cf0 authored by Andrew Morton's avatar Andrew Morton Committed by Linus Torvalds
Browse files

kexec: use a mutex for locking rather than xchg()



Functionally the same, but more conventional.

Cc: Huang Ying <ying.huang@intel.com>
Tested-by: default avatarVivek Goyal <vgoyal@redhat.com>
Cc: "Eric W. Biederman" <ebiederm@xmission.com>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent 3122c331
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment