Module: xenomai-forge
Branch: next
Commit: 87db01f565c7c18d9b08c5c42b74491bdc99ab3b
URL:    
http://git.xenomai.org/?p=xenomai-forge.git;a=commit;h=87db01f565c7c18d9b08c5c42b74491bdc99ab3b

Author: Philippe Gerum <r...@xenomai.org>
Date:   Wed Sep  3 14:35:42 2014 +0200

cobalt/uapi/time: make time/tick counters 32/64bit-neutral

---

 include/cobalt/uapi/kernel/types.h |    9 +++++----
 1 file changed, 5 insertions(+), 4 deletions(-)

diff --git a/include/cobalt/uapi/kernel/types.h 
b/include/cobalt/uapi/kernel/types.h
index f9b79b3..d009ca2 100644
--- a/include/cobalt/uapi/kernel/types.h
+++ b/include/cobalt/uapi/kernel/types.h
@@ -18,15 +18,16 @@
 #ifndef _COBALT_UAPI_KERNEL_TYPES_H
 #define _COBALT_UAPI_KERNEL_TYPES_H
 
+#include <linux/types.h>
 #include <cobalt/uapi/kernel/limits.h>
 
-typedef unsigned long long xnticks_t;
+typedef __u64 xnticks_t;
 
-typedef long long xnsticks_t;
+typedef __s64 xnsticks_t;
 
-typedef unsigned long long xntime_t; /* ns */
+typedef __u64 xntime_t; /* ns */
 
-typedef long long xnstime_t;
+typedef __s64 xnstime_t;
 
 typedef unsigned long xnhandle_t;
 


_______________________________________________
Xenomai-git mailing list
Xenomai-git@xenomai.org
http://www.xenomai.org/mailman/listinfo/xenomai-git

Reply via email to