From: Avi Kivity <[email protected]>

Causes conflicts with kernel symbols.

Signed-off-by: Avi Kivity <[email protected]>

diff --git a/srcu.c b/srcu.c
index 3243adf..e9734bc 100644
--- a/srcu.c
+++ b/srcu.c
@@ -24,6 +24,8 @@
  *
  */
 
+#if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,19)
+
 #include <linux/module.h>
 #include <linux/mutex.h>
 #include <linux/percpu.h>
@@ -261,3 +263,5 @@ EXPORT_SYMBOL_GPL(kvm_srcu_read_lock);
 EXPORT_SYMBOL_GPL(kvm_srcu_read_unlock);
 EXPORT_SYMBOL_GPL(kvm_synchronize_srcu);
 EXPORT_SYMBOL_GPL(kvm_srcu_batches_completed);
+
+#endif
--
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

Reply via email to