aboutsummaryrefslogtreecommitdiff
path: root/common/cyclic.c
diff options
context:
space:
mode:
authorStefan Roese2022-09-02 13:57:47 +0200
committerTom Rini2022-09-13 16:01:43 -0400
commite29178eda1ed5fe3b3796af12ce0b8d0a0337992 (patch)
treea71985e1cad0e9eccf2a6435547287f4545865fd /common/cyclic.c
parentc2238fcf0c4567bbd581882e5952047e71406f58 (diff)
time: Import time_after64() and friends from Linux
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 <sr@denx.de> Reviewed-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'common/cyclic.c')
0 files changed, 0 insertions, 0 deletions