diff options
author | Antony Pavlov <antonynpavlov@gmail.com> | 2012-06-28 22:32:32 +0400 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2012-06-29 10:19:58 +0200 |
commit | e172909335b6238fca9d2f3f98f4de8331ed1501 (patch) | |
tree | b7fc6f66e137eb4b60b75335d0d73ccb65c4cd2a /include/clock.h | |
parent | 1d8134c8d29560731d7c13ea4b97023799c9f380 (diff) | |
download | barebox-e172909335b6238fca9d2f3f98f4de8331ed1501.tar.gz barebox-e172909335b6238fca9d2f3f98f4de8331ed1501.tar.xz |
clocksource: move the NSEC_PER_SEC constant to common header
Signed-off-by: Antony Pavlov <antonynpavlov@gmail.com>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'include/clock.h')
-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 123f8747a8..c01a8d00ab 100644 --- a/include/clock.h +++ b/include/clock.h @@ -3,6 +3,8 @@ #ifndef CLOCK_H #define CLOCK_H +#include <linux/time.h> + #define CLOCKSOURCE_MASK(bits) (uint64_t)((bits) < 64 ? ((1ULL<<(bits))-1) : -1) struct clocksource { |