From patchwork Fri Sep 18 11:41:15 2009 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Juan Quintela X-Patchwork-Id: 48498 Received: from vger.kernel.org (vger.kernel.org [209.132.176.167]) by demeter.kernel.org (8.14.2/8.14.2) with ESMTP id n8IBft8f013819 for ; Fri, 18 Sep 2009 11:41:55 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756625AbZIRLls (ORCPT ); Fri, 18 Sep 2009 07:41:48 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1756619AbZIRLls (ORCPT ); Fri, 18 Sep 2009 07:41:48 -0400 Received: from mx1.redhat.com ([209.132.183.28]:33360 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756592AbZIRLlq (ORCPT ); Fri, 18 Sep 2009 07:41:46 -0400 Received: from int-mx05.intmail.prod.int.phx2.redhat.com (int-mx05.intmail.prod.int.phx2.redhat.com [10.5.11.18]) by mx1.redhat.com (8.13.8/8.13.8) with ESMTP id n8IBfokf004906 for ; Fri, 18 Sep 2009 07:41:50 -0400 Received: from localhost.localdomain (ovpn01.gateway.prod.ext.phx2.redhat.com [10.5.9.1]) by int-mx05.intmail.prod.int.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id n8IBfa8n017440; Fri, 18 Sep 2009 07:41:45 -0400 From: Juan Quintela To: kvm@vger.kernel.org Subject: [PATCH 06/24] Use common style for signalfd Date: Fri, 18 Sep 2009 13:41:15 +0200 Message-Id: <0cb8b7044b48a7e3c58df8c86b97b72ad67d2e6c.1253272938.git.quintela@redhat.com> In-Reply-To: References: In-Reply-To: References: X-Scanned-By: MIMEDefang 2.67 on 10.5.11.18 Sender: kvm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: kvm@vger.kernel.org s/CONFIG_signalfd/CONFIG_SIGNALFD/ Signed-off-by: Juan Quintela --- compatfd.c | 2 +- configure | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/compatfd.c b/compatfd.c index 36e37e5..8c78597 100644 --- a/compatfd.c +++ b/compatfd.c @@ -100,7 +100,7 @@ static int qemu_signalfd_compat(const sigset_t *mask) int qemu_signalfd(const sigset_t *mask) { -#if defined(CONFIG_signalfd) +#if defined(CONFIG_SIGNALFD) int ret; ret = syscall(SYS_signalfd, -1, mask, _NSIG / 8); diff --git a/configure b/configure index e6252a2..298a60b 100755 --- a/configure +++ b/configure @@ -234,7 +234,6 @@ kerneldir="" aix="no" blobs="yes" pkgversion=" ($(kvm_version))" -signalfd="no" eventfd="no" cpu_emulation="yes" kvm_kmod="no" @@ -1608,6 +1607,7 @@ fi ########################################## # signalfd probe +signalfd="no" cat > $TMPC << EOF #define _GNU_SOURCE #include @@ -2051,7 +2051,7 @@ if test "$fdt" = "yes" ; then echo "CONFIG_FDT=y" >> $config_host_mak fi if test "$signalfd" = "yes" ; then - echo "CONFIG_signalfd=y" >> $config_host_mak + echo "CONFIG_SIGNALFD=y" >> $config_host_mak fi if test "$eventfd" = "yes" ; then echo "CONFIG_eventfd=y" >> $config_host_mak