]> granicus.if.org Git - strace/commit
sparc64: implement printer for sparc64-specific struct timex
authorDmitry V. Levin <ldv@altlinux.org>
Fri, 10 May 2019 22:27:59 +0000 (22:27 +0000)
committerDmitry V. Levin <ldv@altlinux.org>
Fri, 10 May 2019 22:27:59 +0000 (22:27 +0000)
commit4ad1e409011cfcc50fc84a7658e8e35fc2c854d6
tree5faa3c583397b8281c4babf528bd46fcc5eb4b02
parent215568ce97357cc64a6b05ffe01b2943ca3c1a15
sparc64: implement printer for sparc64-specific struct timex

According to Linux kernel commit v5.1-rc1~160^2~2^2~8, sparc64 is the
only architecture on Linux that has a 'timeval' definition with a 32-bit
tv_usec but a 64-bit tv_sec.

* defs.h [SPARC64] (print_sparc64_timex): New prototype.
* kernel_timex.h [SPARC64] (kernel_sparc64_timex_t): New type.
* print_timex.c [SPARC64] (print_sparc64_timex): New function.
defs.h
kernel_timex.h
print_timex.c