From: Scott Wood Date: Wed, 22 Aug 2012 15:03:50 +0000 (+0000) Subject: KVM: PPC: set IN_GUEST_MODE before checking requests X-Git-Tag: omap-for-v3.8/fixes-for-merge-window-v4-signed~27^2~56^2~4 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5bd1cf118533aba41b3fbd4834e6362a9237db71;p=pandora-kernel.git 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 Signed-off-by: Alexander Graf --- Reading git-diff-tree failed