Fix compile without eventfd.
Signed-off-by: Bernhard Held <[email protected]>
---
compatfd.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
--- qemu-kvm-0.12.0-rc2/compatfd.c
+++ qemu-kvm-0.12.0-rc2/compatfd.c
@@ -118,9 +118,9 @@
int qemu_eventfd(int *fds)
{
-#if defined(CONFIG_EVENTFD)
int ret;
+#if defined(CONFIG_EVENTFD)
ret = syscall(SYS_eventfd, 0);
if (ret >= 0) {
fds[0] = ret;
--
To unsubscribe from this list: send the line "unsubscribe kvm" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html