From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bernhard Held Subject: [PATCH] Re: [ANNOUNCE] qemu-kvm-0.12.0-rc2 released Date: Tue, 15 Dec 2009 10:51:11 +0100 Message-ID: References: <4B2684EC.2040504@redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit To: kvm@vger.kernel.org Return-path: Received: from lo.gmane.org ([80.91.229.12]:38761 "EHLO lo.gmane.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753067AbZLOJvf (ORCPT ); Tue, 15 Dec 2009 04:51:35 -0500 Received: from list by lo.gmane.org with local (Exim 4.50) id 1NKU43-00059V-EE for kvm@vger.kernel.org; Tue, 15 Dec 2009 10:51:31 +0100 Received: from smtp.mgpi.de ([212.202.249.42]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 15 Dec 2009 10:51:31 +0100 Received: from bheld by smtp.mgpi.de with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 15 Dec 2009 10:51:31 +0100 In-Reply-To: <4B2684EC.2040504@redhat.com> Sender: kvm-owner@vger.kernel.org List-ID: Fix compile without eventfd. Signed-off-by: Bernhard Held --- 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;