summary refs log tree commit diff
path: root/rt/Makefile
diff options
context:
space:
mode:
authorAdhemerval Zanella <adhemerval.zanella@linaro.org>2019-02-08 16:53:40 +0000
committerAdhemerval Zanella <adhemerval.zanella@linaro.org>2019-03-22 16:52:29 -0300
commit6e8ba7fd574f530afb9681f21604475d5756d773 (patch)
tree6cf03b2d688118ae69cfb67d634f914fbc945990 /rt/Makefile
parent77b6f5534778b5403c87fa5415625aeb4c3cbf44 (diff)
downloadglibc-6e8ba7fd574f530afb9681f21604475d5756d773.tar.gz
glibc-6e8ba7fd574f530afb9681f21604475d5756d773.tar.xz
glibc-6e8ba7fd574f530afb9681f21604475d5756d773.zip
Remove __get_clockfreq
With clock_getres, clock_gettime, and clock_settime refactor to remove the
generic CLOCK_PROCESS_CPUTIME_ID and CLOCK_THREAD_CPUTIME_ID support through
hp-timing, there is no usage of internal __get_clockfreq.  This patch removes
both generic and Linux implementation..

Checked with a build against aarch64-linux-gnu, i686-linux-gnu, ia64-linux-gnu,
sparc64-linux-gnu, powerpc-linux-gnu-power4.

	* include/libc-internal.h (__get_clockfreq): Remove prototype.
	* rt/Makefile (clock-routines): Remove get_clockfreq.
	* rt/get_clockfreq.c: Remove file.
	* sysdeps/unix/sysv/linux/i386/get_clockfreq.c: Likewise.
	* sysdeps/unix/sysv/linux/ia64/get_clockfreq.c: Likewise.
	* sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Likewise.
	* sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Move code to ...
	* sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: ... here.
Diffstat (limited to 'rt/Makefile')
-rw-r--r--rt/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/rt/Makefile b/rt/Makefile
index 0789bb8db7..9ea8394565 100644
--- a/rt/Makefile
+++ b/rt/Makefile
@@ -28,7 +28,7 @@ aio-routines   := aio_cancel aio_error aio_fsync aio_misc aio_read	\
 		  aio_read64 aio_return aio_suspend aio_write		\
 		  aio_write64 lio_listio lio_listio64 aio_sigqueue	\
 		  aio_notify
-clock-routines := get_clockfreq clock_getcpuclockid			\
+clock-routines := clock_getcpuclockid					\
 		  clock_getres clock_gettime clock_settime		\
 		  clock_nanosleep
 timer-routines := timer_create timer_delete timer_getoverr		\