From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Michael S. Tsirkin" Subject: Re: [PATCH 04/13] qemu-kvm: Remove eventfd compat header Date: Mon, 4 Jul 2011 13:37:44 +0300 Message-ID: <20110704103744.GB11386@redhat.com> References: <20110628110908.GB5661@redhat.com> <4E103A8B.70602@mgpi.de> <20110703095406.GA14862@redhat.com> <20110703095743.GB14862@redhat.com> <4E10B56F.2030305@mgpi.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: Jan Kiszka , Avi Kivity , Marcelo Tosatti , kvm@vger.kernel.org, Alex Williamson To: Bernhard Held Return-path: Received: from mx1.redhat.com ([209.132.183.28]:14763 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754241Ab1GDKh2 (ORCPT ); Mon, 4 Jul 2011 06:37:28 -0400 Content-Disposition: inline In-Reply-To: <4E10B56F.2030305@mgpi.de> Sender: kvm-owner@vger.kernel.org List-ID: On Sun, Jul 03, 2011 at 08:31:11PM +0200, Bernhard Held wrote: > SYS_eventfd2 is not defined on systems with old glibc. These numbers > are working for me, for 32 and 64 bit linux. What means > "__NR_eventfd2 does seem to exit"? My system seems to have a definition for the 64 bit _NR_eventfd2 in unistd.h. # grep __NR_eventfd2 /usr/include/*/*h /usr/include/asm-x86_64/unistd.h:#define __NR_eventfd2 290 So I think we should use another name to avoid conflicts. -- MST