From: Marcelo Tosatti <mtosatti@redhat.com>
To: Alexander Graf <agraf@suse.de>
Cc: kvm-ppc@vger.kernel.org, kvm@vger.kernel.org,
Christoffer Dall <cdall@cs.columbia.edu>
Subject: Re: [PATCH v2] KVM: PPC: Rework wqp conditional code
Date: Tue, 13 Mar 2012 20:50:35 -0300 [thread overview]
Message-ID: <20120313235035.GB15362@amt.cnet> (raw)
In-Reply-To: <1331674501-12631-1-git-send-email-agraf@suse.de>
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 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>
Applied, thanks.
prev parent reply other threads:[~2012-03-13 23:50 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-03-13 21:35 [PATCH v2] KVM: PPC: Rework wqp conditional code Alexander Graf
2012-03-13 23:50 ` Marcelo Tosatti [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20120313235035.GB15362@amt.cnet \
--to=mtosatti@redhat.com \
--cc=agraf@suse.de \
--cc=cdall@cs.columbia.edu \
--cc=kvm-ppc@vger.kernel.org \
--cc=kvm@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox