All of lore.kernel.org
 help / color / mirror / Atom feed
From: Avi Kivity <avi@redhat.com>
To: Zachary Amsden <zamsden@redhat.com>
Cc: Eduardo Habkost <ehabkost@redhat.com>, kvm@vger.kernel.org
Subject: Re: [PATCH] kvm-kmod vma_kernel_pagesize compatability
Date: Sun, 23 Aug 2009 12:00:56 +0300	[thread overview]
Message-ID: <4A910548.1040104@redhat.com> (raw)
In-Reply-To: <4A8F3E00.9090103@redhat.com>

On 08/22/2009 03:38 AM, Zachary Amsden wrote:
>      Make vma_kernel_pagesize a kvm compat API; this fixes the build with
>      new kernels synced to 2.6.31 compiling externally for older systems.
>    

Applied, thanks.


>
>      Signed-off-by: Zachary Amsden<zamsden@redhat.com>
>
> diff --git a/external-module-compat-comm.h b/external-module-compat-comm.h
> index 3a31d51..da1a4f0 100644
> --- a/external-module-compat-comm.h
> +++ b/external-module-compat-comm.h
> @@ -958,7 +958,7 @@ static inline int kvm_eventfd_signal(struct eventfd_ctx *ctx, int n)
>   #if LINUX_VERSION_CODE<  KERNEL_VERSION(2,6,31)
>
>   static inline
> -unsigned long vma_kernel_pagesize(struct vm_area_struct *vma)
> +unsigned long kvm_vma_kernel_pagesize(struct vm_area_struct *vma)
>   {
>   	struct hstate *hstate;
>
>    

A #else was missing, which I added.

-- 
error compiling committee.c: too many arguments to function


      reply	other threads:[~2009-08-23  9:00 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-08-22  0:38 [PATCH] kvm-kmod vma_kernel_pagesize compatability Zachary Amsden
2009-08-23  9:00 ` Avi Kivity [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=4A910548.1040104@redhat.com \
    --to=avi@redhat.com \
    --cc=ehabkost@redhat.com \
    --cc=kvm@vger.kernel.org \
    --cc=zamsden@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.