summaryrefslogtreecommitdiffstats
path: root/arch/powerpc/include/asm/kvm_ppc.h
diff options
context:
space:
mode:
authorScott Wood <scottwood@freescale.com>2012-08-22 15:03:50 +0000
committerAlexander Graf <agraf@suse.de>2012-10-05 23:38:54 +0200
commit5bd1cf118533aba41b3fbd4834e6362a9237db71 (patch)
tree33cf8766cec82d210d95755a8291855c7f199705 /arch/powerpc/include/asm/kvm_ppc.h
parentadbb48a854bf8dee556dc42b96dd61503351a82d (diff)
downloadblackbird-op-linux-5bd1cf118533aba41b3fbd4834e6362a9237db71.tar.gz
blackbird-op-linux-5bd1cf118533aba41b3fbd4834e6362a9237db71.zip
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>
Diffstat (limited to 'arch/powerpc/include/asm/kvm_ppc.h')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud