[PATCH 06/24] Use common style for signalfd

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



s/CONFIG_signalfd/CONFIG_SIGNALFD/

Signed-off-by: Juan Quintela <quintela@xxxxxxxxxx>
---
 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 <unistd.h>
@@ -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
-- 
1.6.2.5

--
To unsubscribe from this list: send the line "unsubscribe kvm" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [KVM ARM]     [KVM ia64]     [KVM ppc]     [Virtualization Tools]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Questions]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux