projects
/
ust.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
define ____cacheline_aligned
[ust.git]
/
include
/
ust
/
processor.h
diff --git
a/include/ust/processor.h
b/include/ust/processor.h
index 867b140cce9b2d408f594f770ac688da86f5702c..68ac258631a61491b287d0c1f492253dd5881fda 100644
(file)
--- a/
include/ust/processor.h
+++ b/
include/ust/processor.h
@@
-20,10
+20,13
@@
#include <stddef.h>
#include <string.h>
#include <stddef.h>
#include <string.h>
+#include <urcu-bp.h>
extern __thread long ust_reg_stack[500];
extern volatile __thread long *ust_reg_stack_ptr;
extern __thread long ust_reg_stack[500];
extern volatile __thread long *ust_reg_stack_ptr;
+#define ____cacheline_aligned __attribute__((aligned(CACHE_LINE_SIZE)))
+
#ifdef __i386
struct registers {
#ifdef __i386
struct registers {
This page took
0.024089 seconds
and
4
git commands to generate.