All of lore.kernel.org
 help / color / mirror / Atom feed
From: Gleb Natapov <gleb@redhat.com>
To: James Hogan <james.hogan@imgtec.com>
Cc: kvm@vger.kernel.org, linux-kernel@vger.kernel.org,
	linux-arch@vger.kernel.org, Marcelo Tosatti <mtosatti@redhat.com>,
	Arnd Bergmann <arnd@arndb.de>
Subject: Re: [PATCH 1/1] KVM: add kvm_para_available to asm-generic/kvm_para.h
Date: Tue, 4 Jun 2013 12:05:08 +0300	[thread overview]
Message-ID: <20130604090508.GL4725@redhat.com> (raw)
In-Reply-To: <1369222162-4857-1-git-send-email-james.hogan@imgtec.com>

On Wed, May 22, 2013 at 12:29:22PM +0100, James Hogan wrote:
> According to include/uapi/linux/kvm_para.h architectures should define
> kvm_para_available, so add an implementation to asm-generic/kvm_para.h
> which just returns false.
> 
What is this fixing? The only user of kvm_para_available() that can
benefit from this is in sound/pci/intel8x0.c, but I do not see follow up
patch to use it there.

> Signed-off-by: James Hogan <james.hogan@imgtec.com>
> Cc: Marcelo Tosatti <mtosatti@redhat.com>
> Cc: Gleb Natapov <gleb@redhat.com>
> Cc: Arnd Bergmann <arnd@arndb.de>
> ---
>  include/asm-generic/kvm_para.h | 5 +++++
>  1 file changed, 5 insertions(+)
> 
> diff --git a/include/asm-generic/kvm_para.h b/include/asm-generic/kvm_para.h
> index 9d96605..fa25bec 100644
> --- a/include/asm-generic/kvm_para.h
> +++ b/include/asm-generic/kvm_para.h
> @@ -18,4 +18,9 @@ static inline unsigned int kvm_arch_para_features(void)
>  	return 0;
>  }
>  
> +static inline bool kvm_para_available(void)
> +{
> +	return false;
> +}
> +
>  #endif
> -- 
> 1.8.1.2
> 

--
			Gleb.

  reply	other threads:[~2013-06-04  9:05 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-05-22 11:29 [PATCH 1/1] KVM: add kvm_para_available to asm-generic/kvm_para.h James Hogan
2013-05-22 11:29 ` James Hogan
2013-06-04  9:05 ` Gleb Natapov [this message]
2013-06-04 11:33   ` James Hogan
2013-06-05 10:17     ` Gleb Natapov

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=20130604090508.GL4725@redhat.com \
    --to=gleb@redhat.com \
    --cc=arnd@arndb.de \
    --cc=james.hogan@imgtec.com \
    --cc=kvm@vger.kernel.org \
    --cc=linux-arch@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mtosatti@redhat.com \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.