[PATCH 5/8] include: Add definitnion for HZ

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Add definitnion for HZ to simplify porting Linux kernel code.

Signed-off-by: Andrey Smirnov <andrew.smirnov@xxxxxxxxx>
---
 include/clock.h | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/include/clock.h b/include/clock.h
index 5f2f53ab6..211748f3a 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;
 
 /*
-- 
2.20.1


_______________________________________________
barebox mailing list
barebox@xxxxxxxxxxxxxxxxxxx
http://lists.infradead.org/mailman/listinfo/barebox



[Index of Archives]     [Linux Embedded]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux