glibc/sysdeps/nptl
Adhemerval Zanella 0ddb7ea842 nptl: Assume __ASSUME_FUTEX_CLOCK_REALTIME support
This patch assumes realtime clock support for nptl and thus removes
all the associated code.

For __pthread_mutex_timedlock the fallback usage for the case where
lll_futex_timed_wait_bitset it not set define is also removed. The
generic lowlevellock-futex.h always define it, so for NPTL code the
check always yield true.

Checked on x86_64-linux-gnu and i686-linux-gnu.

	* nptl/nptl-init.c (__have_futex_clock_realtime,
	__have_futex_clock_realtime): Remove definition.
	(__pthread_initialize_minimal_internal): Remove FUTEX_CLOCK_REALTIME
	check test for !__ASSUME_FUTEX_CLOCK_REALTIME.
	* nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock): Assume
	__ASSUME_FUTEX_CLOCK_REALTIME support.
	* sysdeps/unix/sysv/linux/i386/lowlevellock.S: Likewise.
	* sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
	* sysdeps/unix/sysv/linux/kernel-features.h
	(__ASSUME_FUTEX_CLOCK_REALTIME): Remove.
	* sysdeps/nptl/lowlevellock-futex.h (lll_futex_timed_wait_bitset):
	Adjust comment.
2019-03-05 16:28:20 -03:00
..
bits Update copyright dates with scripts/update-copyrights. 2019-01-01 00:11:28 +00:00
sys Update copyright dates with scripts/update-copyrights. 2019-01-01 00:11:28 +00:00
aio_misc.h nptl: Cleanup cancellation macros 2019-01-03 18:38:16 -02:00
allocrtsig.c Update copyright dates with scripts/update-copyrights. 2019-01-01 00:11:28 +00:00
dl-tunables.list Update copyright dates with scripts/update-copyrights. 2019-01-01 00:11:28 +00:00
fork.c nptl: Avoid fork handler lock for async-signal-safe fork [BZ #24161] 2019-02-08 12:46:19 +01:00
fork.h nptl: Avoid fork handler lock for async-signal-safe fork [BZ #24161] 2019-02-08 12:46:19 +01:00
futex-internal.h Update copyright dates with scripts/update-copyrights. 2019-01-01 00:11:28 +00:00
gai_misc.h nptl: Cleanup cancellation macros 2019-01-03 18:38:16 -02:00
Implies Get rid of nptl/sysdeps/pthread/ subdirectory 2014-06-12 13:48:47 -07:00
internaltypes.h Update copyright dates with scripts/update-copyrights. 2019-01-01 00:11:28 +00:00
jmp-unwind.c Update copyright dates with scripts/update-copyrights. 2019-01-01 00:11:28 +00:00
libc-lock.h Update copyright dates with scripts/update-copyrights. 2019-01-01 00:11:28 +00:00
libc-lockP.h Update copyright dates with scripts/update-copyrights. 2019-01-01 00:11:28 +00:00
librt-cancellation.c Update copyright dates with scripts/update-copyrights. 2019-01-01 00:11:28 +00:00
lowlevellock-futex.h nptl: Assume __ASSUME_FUTEX_CLOCK_REALTIME support 2019-03-05 16:28:20 -03:00
lowlevellock.h nptl: Reinstate pthread_timedjoin_np as a cancellation point (BZ#24215) 2019-02-14 18:11:15 -02:00
Makeconfig Update copyright dates with scripts/update-copyrights. 2019-01-01 00:11:28 +00:00
Makefile Update copyright dates with scripts/update-copyrights. 2019-01-01 00:11:28 +00:00
malloc-machine.h Update copyright dates with scripts/update-copyrights. 2019-01-01 00:11:28 +00:00
proc_service.h Move remaining nptl_db headers to sysdeps/nptl 2019-02-16 08:25:16 +01:00
pthread-functions.h Update copyright dates with scripts/update-copyrights. 2019-01-01 00:11:28 +00:00
pthread.h Update copyright dates with scripts/update-copyrights. 2019-01-01 00:11:28 +00:00
setxid.h Update copyright dates with scripts/update-copyrights. 2019-01-01 00:11:28 +00:00
shm-directory.h Update copyright dates with scripts/update-copyrights. 2019-01-01 00:11:28 +00:00
stdio-lock.h Update copyright dates with scripts/update-copyrights. 2019-01-01 00:11:28 +00:00
Subdirs Get rid of nptl/sysdeps/pthread/ subdirectory 2014-06-12 13:48:47 -07:00
tcb-offsets.h Get rid of nptl/sysdeps/pthread/ subdirectory 2014-06-12 13:48:47 -07:00
thread_db.h Move remaining nptl_db headers to sysdeps/nptl 2019-02-16 08:25:16 +01:00
threads.h Update copyright dates with scripts/update-copyrights. 2019-01-01 00:11:28 +00:00
timer_routines.h Update copyright dates with scripts/update-copyrights. 2019-01-01 00:11:28 +00:00
tst-mqueue8x.c Get rid of nptl/sysdeps/pthread/ subdirectory 2014-06-12 13:48:47 -07:00
unwind-forcedunwind.c Update copyright dates with scripts/update-copyrights. 2019-01-01 00:11:28 +00:00