diff options
author | Andrey Smirnov <andrew.smirnov@gmail.com> | 2019-02-11 22:40:19 -0800 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2019-02-18 14:25:51 +0100 |
commit | 40050e44274be96bc07e7f915c3f708f228160a6 (patch) | |
tree | bf3d0e61397c918c170c5371f6da9901cec9747f | |
parent | 17ba7e1c4a2d09b42c73f9684310bfb43b56b41d (diff) | |
download | barebox-40050e44274be96bc07e7f915c3f708f228160a6.tar.gz barebox-40050e44274be96bc07e7f915c3f708f228160a6.tar.xz |
include: Add definitnion for HZ
Add definitnion for HZ to simplify porting Linux kernel code.
Signed-off-by: Andrey Smirnov <andrew.smirnov@gmail.com>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
-rw-r--r-- | include/clock.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/clock.h b/include/clock.h index 5f2f53ab66..211748f3a0 100644 --- a/include/clock.h +++ b/include/clock.h @@ -43,6 +43,8 @@ void mdelay_non_interruptible(unsigned long msecs); #define MSECOND ((uint64_t)(1000 * 1000)) #define USECOND ((uint64_t)(1000)) +#define HZ SECOND + extern uint64_t time_beginning; /* |