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<[email protected]>
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
--
To unsubscribe from this list: send the line "unsubscribe kvm" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html