Alistair Francis
b7b7452f29
date: Use 64 prefix syscall if we have to
...
Some 32-bit architectures no longer have the 32-bit time_t syscalls.
Instead they have suffixed syscalls that returns a 64-bit time_t. If
the architecture doesn't have the non-suffixed syscall and is using a
64-bit time_t let's use the suffixed syscall instead.
This fixes build issues when building for RISC-V 32-bit with 5.1+ kernel
headers.
If an architecture only supports the suffixed syscalls, but is still
using a 32-bit time_t fall back to the libc call.
Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
2019-10-08 16:31:54 +02:00
..
2018-12-28 03:20:17 +01:00
2018-12-28 03:20:17 +01:00
2018-12-28 03:20:17 +01:00
2018-12-28 03:20:17 +01:00
2018-12-28 03:20:17 +01:00
2018-12-28 03:20:17 +01:00
2019-07-02 11:35:03 +02:00
2019-07-02 11:35:03 +02:00
2019-10-08 16:31:54 +02:00
2019-05-14 17:49:14 +02:00
2019-07-02 11:35:03 +02:00
2018-12-28 03:20:17 +01:00
2018-12-28 03:20:17 +01:00
2019-02-19 17:08:39 +01:00
2019-07-02 11:35:03 +02:00
2019-07-02 11:35:03 +02:00
2019-07-02 11:35:03 +02:00
2019-07-02 11:35:03 +02:00
2018-12-28 03:20:17 +01:00
2018-12-28 03:20:17 +01:00
2018-12-28 03:20:17 +01:00
2019-07-02 11:35:03 +02:00
2019-07-02 11:35:03 +02:00
2018-12-28 03:20:17 +01:00
2019-10-08 14:07:50 +02:00
2019-07-02 11:35:03 +02:00
2019-05-26 13:53:41 +02:00
2019-07-02 11:35:03 +02:00
2018-12-28 03:20:17 +01:00
2018-12-28 03:20:17 +01:00
2018-12-28 03:20:17 +01:00
2018-12-28 03:20:17 +01:00
2018-12-28 03:20:17 +01:00
2018-12-28 03:20:17 +01:00
2018-12-28 03:20:17 +01:00
2018-12-28 03:20:17 +01:00
2019-07-02 11:35:03 +02:00
2019-07-02 11:35:03 +02:00
2018-12-28 03:20:17 +01:00
2019-07-02 11:35:03 +02:00
2018-12-28 03:20:17 +01:00
2018-12-28 03:20:17 +01:00
2018-12-28 03:20:17 +01:00
2019-07-02 11:35:03 +02:00
2018-12-28 03:20:17 +01:00
2018-12-28 03:20:17 +01:00
2018-12-28 03:20:17 +01:00
2019-01-07 15:20:56 +01:00
2019-07-02 11:35:03 +02:00
2019-07-02 11:35:03 +02:00
2019-08-03 18:08:27 +02:00
2019-07-02 11:35:03 +02:00
2018-12-28 03:20:17 +01:00
2019-04-02 14:55:29 +02:00
2018-12-28 03:20:17 +01:00
2019-07-02 11:35:03 +02:00
2019-10-07 14:25:45 +02:00
2019-07-02 11:35:03 +02:00
2018-12-28 03:20:17 +01:00
2018-12-28 03:20:17 +01:00
2019-07-02 11:35:03 +02:00
2018-12-28 03:20:17 +01:00
2018-12-28 03:20:17 +01:00
2018-12-28 03:20:17 +01:00
2018-12-28 03:20:17 +01:00
2018-12-28 03:20:17 +01:00
2018-12-28 03:20:17 +01:00
2019-07-02 11:35:03 +02:00
2019-07-02 11:35:03 +02:00
2018-12-28 03:20:17 +01:00
2018-12-28 03:20:17 +01:00
2018-12-28 03:20:17 +01:00
2018-12-28 03:20:17 +01:00