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

Author: Philippe Gerum <r...@xenomai.org>
Date:   Mon Sep  1 20:58:18 2014 +0200

cobalt/uapi: make cobalt_sysinfo 32/64bit-neutral

---

 include/cobalt/uapi/asm-generic/syscall.h |    5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/include/cobalt/uapi/asm-generic/syscall.h 
b/include/cobalt/uapi/asm-generic/syscall.h
index 4382d86..8af6c04 100644
--- a/include/cobalt/uapi/asm-generic/syscall.h
+++ b/include/cobalt/uapi/asm-generic/syscall.h
@@ -18,6 +18,7 @@
 #ifndef _COBALT_UAPI_ASM_GENERIC_SYSCALL_H
 #define _COBALT_UAPI_ASM_GENERIC_SYSCALL_H
 
+#include <linux/types.h>
 #include <asm/xenomai/uapi/features.h>
 #include <asm/xenomai/uapi/syscall.h>
 
@@ -36,8 +37,8 @@ struct cobalt_bindreq {
 #define COBALT_PRIMARY    1
 
 struct cobalt_sysinfo {
-       unsigned long long clockfreq;   /* Real-time clock frequency */
-       unsigned long vdso;             /* Offset of nkvdso in the sem heap */
+       __u64 clockfreq;        /* Real-time clock frequency */
+       __u32 vdso;             /* Offset of nkvdso in the sem heap */
 };
 
 #endif /* !_COBALT_UAPI_ASM_GENERIC_SYSCALL_H */


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

Reply via email to