From: Avi Kivity <[email protected]>

eventfd_signal() was not exported prior to 2.6.31.

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

diff --git a/external-module-compat-comm.h b/external-module-compat-comm.h
index e9a7caf..8a2f902 100644
--- a/external-module-compat-comm.h
+++ b/external-module-compat-comm.h
@@ -941,4 +941,13 @@ static inline struct eventfd_ctx 
*eventfd_ctx_fileget(struct file *file)
        return (struct eventfd_ctx *)file;
 }
 
+static inline int kvm_eventfd_signal(struct eventfd_ctx *ctx, int n)
+{
+       return -ENOSYS;
+}
+
+#else
+
+#define kvm_eventfd_signal eventfd_signal
+
 #endif
diff --git a/sync b/sync
index 7da1035..4b61bae 100755
--- a/sync
+++ b/sync
@@ -37,7 +37,7 @@ def __hack(data):
         'on_each_cpu relay_open request_irq free_irq '
         'init_srcu_struct cleanup_srcu_struct srcu_read_lock '
         'srcu_read_unlock synchronize_srcu srcu_batches_completed '
-        'do_machine_check '
+        'do_machine_check eventfd_signal'
         )
     anon_inodes = anon_inodes_exit = False
     mce = False
--
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