From: Avi Kivity <[email protected]>
Signed-off-by: Avi Kivity <[email protected]>
diff --git a/external-module-compat-comm.h b/external-module-compat-comm.h
index 131210a..9801441 100644
--- a/external-module-compat-comm.h
+++ b/external-module-compat-comm.h
@@ -800,3 +800,15 @@ static inline int iommu_domain_has_cap(struct iommu_domain
*domain,
}
#endif
+
+#include <linux/file.h>
+
+/* eventfd_fget() will be introduced in 2.6.32 */
+#if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,32)
+
+static inline struct file *eventfd_fget(int fd)
+{
+ return fget(fd);
+}
+
+#endif
diff --git a/linux-2.6 b/linux-2.6
index 7391a6d..6790e2f 160000
--- a/linux-2.6
+++ b/linux-2.6
@@ -1 +1 @@
-Subproject commit 7391a6d5118792baad4c518363aaae0d54d009e6
+Subproject commit 6790e2f843585d5232ff7f724e6baf9f32cd08cd
--
To unsubscribe from this list: send the line "unsubscribe kvm-commits" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html