From: Zachary Amsden <zamsden@redhat.com>
To: Avi Kivity <avi@redhat.com>,
Eduardo Habkost <ehabkost@redhat.com>,
kvm@vger.kernel.org
Subject: [PATCH] kvm-kmod vma_kernel_pagesize compatability
Date: Fri, 21 Aug 2009 14:38:24 -1000 [thread overview]
Message-ID: <4A8F3E00.9090103@redhat.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 25 bytes --]
Patch speaks for itself.
[-- Attachment #2: kmod-vma-kernel-pagesize-fix.patch --]
[-- Type: text/plain, Size: 1483 bytes --]
commit b5cd58bc3e7bddf0a9735d5c13c36e2221a7f616
Author: Zachary Amsden <zamsden@redhat.com>
Date: Fri Aug 21 14:34:37 2009 -1000
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.
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;
diff --git a/linux-2.6 b/linux-2.6
index 5383e99..779cc54 160000
--- a/linux-2.6
+++ b/linux-2.6
@@ -1 +1 @@
-Subproject commit 5383e9982ee230b06b3c385e675ae6fc7846c40f
+Subproject commit 779cc54dbccaa3a00d70a9d61d090be5d9ccc903
diff --git a/sync b/sync
index ac8ea05..539a3f0 100755
--- a/sync
+++ b/sync
@@ -38,6 +38,7 @@ def __hack(data):
'init_srcu_struct cleanup_srcu_struct srcu_read_lock '
'srcu_read_unlock synchronize_srcu srcu_batches_completed '
'do_machine_check eventfd_signal get_desc_base get_desc_limit '
+ 'vma_kernel_pagesize '
)
anon_inodes = anon_inodes_exit = False
mce = False
next reply other threads:[~2009-08-22 0:43 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-08-22 0:38 Zachary Amsden [this message]
2009-08-23 9:00 ` [PATCH] kvm-kmod vma_kernel_pagesize compatability Avi Kivity
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=4A8F3E00.9090103@redhat.com \
--to=zamsden@redhat.com \
--cc=avi@redhat.com \
--cc=ehabkost@redhat.com \
--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;
as well as URLs for NNTP newsgroup(s).