Re: [PATCH] kvm-kmod vma_kernel_pagesize compatability

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxx>

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 majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [KVM ARM]     [KVM ia64]     [KVM ppc]     [Virtualization Tools]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Questions]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux