aboutsummaryrefslogtreecommitdiffstats
path: root/arch/mn10300
diff options
context:
space:
mode:
authorAlexander Graf <agraf@suse.de>2012-03-13 22:35:01 +0100
committerAvi Kivity <avi@redhat.com>2012-04-08 12:47:49 +0300
commit2246f8b56315befa30f3d3d2800e0734c774f70e (patch)
treedec554ed0a72b9e9485e02153cd1521321a3f26a /arch/mn10300
parentKVM: Factor out kvm_vcpu_kick to arch-generic code (diff)
downloadlinux-dev-2246f8b56315befa30f3d3d2800e0734c774f70e.tar.xz
linux-dev-2246f8b56315befa30f3d3d2800e0734c774f70e.zip
KVM: PPC: Rework wqp conditional code
On PowerPC, we sometimes use a waitqueue per core, not per thread, so we can't always use the vcpu internal waitqueue. This code has been generalized by Christoffer Dall recently, but unfortunately broke compilation for PowerPC. At the time the helper function is defined, struct kvm_vcpu is not declared yet, so we can't dereference it. This patch moves all logic into the generic inline function, at which time we have all information necessary. Signed-off-by: Alexander Graf <agraf@suse.de> Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com> Signed-off-by: Avi Kivity <avi@redhat.com>
Diffstat (limited to 'arch/mn10300')
0 files changed, 0 insertions, 0 deletions