Re: [PATCH v2] KVM: PPC: Rework wqp conditional code

2012-03-13 Thread Marcelo Tosatti
On Tue, Mar 13, 2012 at 10:35:01PM +0100, Alexander Graf wrote: > 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 Powe

[PATCH v2] KVM: PPC: Rework wqp conditional code

2012-03-13 Thread Alexander Graf
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 de