Skip to content
Commit d1876749 authored by Alistair Francis's avatar Alistair Francis
Browse files

time: Add a timeval with a 32-bit tv_sec and tv_usec



On y2038 safe 32-bit systems the Linux kernel expects itimerval to
use a 32-bit time_t, even though the other time_t's are 64-bit. To
address this let's add a __timeval32 struct to be used internally.

Reviewed-by: default avatarLukasz Majewski <lukma@denx.de>
Reviewed-by: default avatarAdhemerval Zanella <adhemerval.zanella@linaro.org>
parent 4da2597a
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment