summaryrefslogtreecommitdiff
path: root/arch/powerpc/include/asm/kvm.h
diff options
context:
space:
mode:
authorScott Wood <scottwood@freescale.com>2012-08-22 15:03:50 (GMT)
committerAlexander Graf <agraf@suse.de>2012-10-05 21:38:54 (GMT)
commit5bd1cf118533aba41b3fbd4834e6362a9237db71 (patch)
tree33cf8766cec82d210d95755a8291855c7f199705 /arch/powerpc/include/asm/kvm.h
parentadbb48a854bf8dee556dc42b96dd61503351a82d (diff)
downloadlinux-fsl-qoriq-5bd1cf118533aba41b3fbd4834e6362a9237db71.tar.xz
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.h')
0 files changed, 0 insertions, 0 deletions