projects
/
urcu.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Refactor tests
[urcu.git]
/
urcu
/
arch
/
x86.h
diff --git
a/urcu/arch/x86.h
b/urcu/arch/x86.h
index afbf4fad37b68b8cb18f2eccb15f8c308e1eb02d..b4d3694fdffb896fa3773f30ad8d0777ae9836a4 100644
(file)
--- a/
urcu/arch/x86.h
+++ b/
urcu/arch/x86.h
@@
-25,10
+25,11
@@
#include <urcu/compiler.h>
#include <urcu/config.h>
#include <urcu/syscall-compat.h>
#include <urcu/compiler.h>
#include <urcu/config.h>
#include <urcu/syscall-compat.h>
+#include <stdint.h>
#ifdef __cplusplus
extern "C" {
#ifdef __cplusplus
extern "C" {
-#endif
+#endif
#define CAA_CACHE_LINE_SIZE 128
#define CAA_CACHE_LINE_SIZE 128
@@
-79,11
+80,11
@@
extern "C" {
| (((unsigned long long)__d) << 32); \
} while(0)
| (((unsigned long long)__d) << 32); \
} while(0)
-typedef u
nsigned long long
cycles_t;
+typedef u
int64_t caa_
cycles_t;
-static inline cycles_t caa_get_cycles(void)
+static inline c
aa_c
ycles_t caa_get_cycles(void)
{
{
- cycles_t ret = 0;
+ c
aa_c
ycles_t ret = 0;
rdtscll(ret);
return ret;
rdtscll(ret);
return ret;
@@
-103,7
+104,7
@@
static inline cycles_t caa_get_cycles(void)
#endif
#endif
#endif
#endif
-#ifdef __cplusplus
+#ifdef __cplusplus
}
#endif
}
#endif
This page took
0.024659 seconds
and
4
git commands to generate.