xtensa: Add time64 support.
commit852836ae660ff92cc7c750b4c39c78d161fb10b5
authorDmitry Chestnykh <dm.chestnykh@gmail.com>
Thu, 22 Feb 2024 12:50:51 +0000 (22 15:50 +0300)
committerWaldemar Brodkorb <wbx@openadk.org>
Thu, 22 Feb 2024 18:50:13 +0000 (22 19:50 +0100)
tree98247d9094a7e2c40cd3e007c82d2ec4fd375923
parent8ea0140d5ffd2dc4ec0e36de71b67e6c1955f3cb
xtensa: Add time64 support.

- xtensa is the second architecture that supports
time64 inside uClibc-ng.
- Linux Kernel always uses 32bit time variables
inside `stat` structures, so there is a need
to use `st_atime`, `st_mtime` and `st_ctime` structures with the same
32bit-wide `tv_sec` and `tv_nsec` variables even if time64 is enabled.

Signed-off-by: Dmitry Chestnykh <dm.chestnykh@gmail.com>
extra/Configs/Config.in
libc/sysdeps/linux/xtensa/bits/kernel_stat.h