* [Qemu-devel] [PATCH] configure: Remove unused CONFIG_SIGEV_THREAD_ID switch
@ 2016-06-10 15:04 Thomas Huth
2016-06-13 9:31 ` Paolo Bonzini
0 siblings, 1 reply; 2+ messages in thread
From: Thomas Huth @ 2016-06-10 15:04 UTC (permalink / raw)
To: qemu-devel; +Cc: Paolo Bonzini, qemu-trivial
The CONFIG_SIGEV_THREAD_ID switch is unused since the related code
has been removed by commit 6d327171551a12b937c5718073b9848d0274c74d
("aio / timers: Remove alarm timers"), so it can safely be removed
nowadays.
Signed-off-by: Thomas Huth <thuth@redhat.com>
---
configure | 22 ----------------------
1 file changed, 22 deletions(-)
diff --git a/configure b/configure
index 8c2f90b..469aa45 100755
--- a/configure
+++ b/configure
@@ -4178,24 +4178,6 @@ if compile_prog "" "" ; then
fi
##########################################
-# check if we have usable SIGEV_THREAD_ID
-
-sigev_thread_id=no
-cat > $TMPC << EOF
-#include <signal.h>
-int main(void) {
- struct sigevent ev;
- ev.sigev_notify = SIGEV_THREAD_ID;
- ev._sigev_un._tid = 0;
- asm volatile("" : : "g"(&ev));
- return 0;
-}
-EOF
-if compile_prog "" "" ; then
- sigev_thread_id=yes
-fi
-
-##########################################
# check if trace backend exists
$python "$source_path/scripts/tracetool.py" "--backends=$trace_backends" --check-backends > /dev/null 2> /dev/null
@@ -4862,7 +4844,6 @@ echo "preadv support $preadv"
echo "fdatasync $fdatasync"
echo "madvise $madvise"
echo "posix_madvise $posix_madvise"
-echo "sigev_thread_id $sigev_thread_id"
echo "uuid support $uuid"
echo "libcap-ng support $cap_ng"
echo "vhost-net support $vhost_net"
@@ -5277,9 +5258,6 @@ fi
if test "$posix_madvise" = "yes" ; then
echo "CONFIG_POSIX_MADVISE=y" >> $config_host_mak
fi
-if test "$sigev_thread_id" = "yes" ; then
- echo "CONFIG_SIGEV_THREAD_ID=y" >> $config_host_mak
-fi
if test "$spice" = "yes" ; then
echo "CONFIG_SPICE=y" >> $config_host_mak
--
1.8.3.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [Qemu-devel] [PATCH] configure: Remove unused CONFIG_SIGEV_THREAD_ID switch
2016-06-10 15:04 [Qemu-devel] [PATCH] configure: Remove unused CONFIG_SIGEV_THREAD_ID switch Thomas Huth
@ 2016-06-13 9:31 ` Paolo Bonzini
0 siblings, 0 replies; 2+ messages in thread
From: Paolo Bonzini @ 2016-06-13 9:31 UTC (permalink / raw)
To: Thomas Huth, qemu-devel; +Cc: qemu-trivial
On 10/06/2016 17:04, Thomas Huth wrote:
> The CONFIG_SIGEV_THREAD_ID switch is unused since the related code
> has been removed by commit 6d327171551a12b937c5718073b9848d0274c74d
> ("aio / timers: Remove alarm timers"), so it can safely be removed
> nowadays.
Queued, thanks.
Paolo
> Signed-off-by: Thomas Huth <thuth@redhat.com>
> ---
> configure | 22 ----------------------
> 1 file changed, 22 deletions(-)
>
> diff --git a/configure b/configure
> index 8c2f90b..469aa45 100755
> --- a/configure
> +++ b/configure
> @@ -4178,24 +4178,6 @@ if compile_prog "" "" ; then
> fi
>
> ##########################################
> -# check if we have usable SIGEV_THREAD_ID
> -
> -sigev_thread_id=no
> -cat > $TMPC << EOF
> -#include <signal.h>
> -int main(void) {
> - struct sigevent ev;
> - ev.sigev_notify = SIGEV_THREAD_ID;
> - ev._sigev_un._tid = 0;
> - asm volatile("" : : "g"(&ev));
> - return 0;
> -}
> -EOF
> -if compile_prog "" "" ; then
> - sigev_thread_id=yes
> -fi
> -
> -##########################################
> # check if trace backend exists
>
> $python "$source_path/scripts/tracetool.py" "--backends=$trace_backends" --check-backends > /dev/null 2> /dev/null
> @@ -4862,7 +4844,6 @@ echo "preadv support $preadv"
> echo "fdatasync $fdatasync"
> echo "madvise $madvise"
> echo "posix_madvise $posix_madvise"
> -echo "sigev_thread_id $sigev_thread_id"
> echo "uuid support $uuid"
> echo "libcap-ng support $cap_ng"
> echo "vhost-net support $vhost_net"
> @@ -5277,9 +5258,6 @@ fi
> if test "$posix_madvise" = "yes" ; then
> echo "CONFIG_POSIX_MADVISE=y" >> $config_host_mak
> fi
> -if test "$sigev_thread_id" = "yes" ; then
> - echo "CONFIG_SIGEV_THREAD_ID=y" >> $config_host_mak
> -fi
>
> if test "$spice" = "yes" ; then
> echo "CONFIG_SPICE=y" >> $config_host_mak
>
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2016-06-13 9:31 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-06-10 15:04 [Qemu-devel] [PATCH] configure: Remove unused CONFIG_SIGEV_THREAD_ID switch Thomas Huth
2016-06-13 9:31 ` Paolo Bonzini
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).