commit | 5bd1cf118533aba41b3fbd4834e6362a9237db71 | [log] [tgz] |
---|---|---|
author | Scott Wood <scottwood@freescale.com> | Wed Aug 22 15:03:50 2012 +0000 |
committer | Alexander Graf <agraf@suse.de> | Fri Oct 05 23:38:54 2012 +0200 |
tree | 33cf8766cec82d210d95755a8291855c7f199705 | |
parent | adbb48a854bf8dee556dc42b96dd61503351a82d [diff] |
KVM: PPC: set IN_GUEST_MODE before checking requests Avoid a race as described in the code comment. Also remove a related smp_wmb() from booke's kvmppc_prepare_to_enter(). I can't see any reason for it, and the book3s_pr version doesn't have it. Signed-off-by: Scott Wood <scottwood@freescale.com> Signed-off-by: Alexander Graf <agraf@suse.de>