2007-07-23  Ulrich Drepper  <drepper@redhat.com>

	* desc.c (sys_eventfd): New function.
	* linux/syscall.h: Declare sys_eventfd.
	* linux/syscallent.h: Add entry for eventfd.
	* linux/x86_64/syscallent.h: Likewise.
diff --git a/desc.c b/desc.c
index 9c26b63..4d82fa8 100644
--- a/desc.c
+++ b/desc.c
@@ -916,4 +916,13 @@
 	}
 	return rc;
 }
+
+int
+sys_eventfd(tcp)
+struct tcb *tcp;
+{
+	if (entering(tcp))
+		tprintf("%lu", tcp->u_arg[0]);
+	return 0;
+}
 #endif