sys_linux: use timex driver

Remove functions that are included in the new timex driver. Keep only
functions that have extended functionality, i.e. read and set the
frequency using the timex tick field and apply step offset with
ADJ_SETOFFSET.

Merge the code from wrap_adjtimex.c that is still needed with
sys_linux.c and remove the file.
This commit is contained in:
Miroslav Lichvar
2015-09-15 15:24:28 +02:00
parent e735be59a7
commit 1b2510e4b2
4 changed files with 96 additions and 324 deletions

2
configure vendored
View File

@@ -394,7 +394,7 @@ case $SYSTEM in
esac
;;
Linux* )
EXTRA_OBJECTS="sys_generic.o sys_linux.o wrap_adjtimex.o"
EXTRA_OBJECTS="sys_generic.o sys_linux.o sys_timex.o"
[ $try_libcap != "0" ] && try_libcap=1
try_rtc=1
[ $try_seccomp != "0" ] && try_seccomp=1