On Fri, 5 Aug 2022 at 08:26, Stefan Roese <s...@denx.de> wrote:
>
> When using us times it makes sense to use 64bit variables for storage.
> The currently implemented time_after() and friends functions only handle
> 32bit variables. This patch now includes the 64bit variants as well
> from Linux. This will be used by the upcoming generic cyclic function
> infrastructure.
>
> These macros were copied from include/linux/jiffies.h of Linux 5.18.
>
> Signed-off-by: Stefan Roese <s...@denx.de>
> ---
> v3:
> - No change
> v2:
> - No change
>
>  include/time.h | 19 +++++++++++++++++++
>  1 file changed, 19 insertions(+)

Reviewed-by: Simon Glass <s...@chromium.org>

Reply via email to