projects
/
lttng-ust.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Update manual
[lttng-ust.git]
/
include
/
ust
/
core.h
diff --git
a/include/ust/core.h
b/include/ust/core.h
index 8cedf98903e7817fd2f3555fc9d6f976eace389c..e781a3a6c5542e85f98898ee8beb3314be8869a8 100644
(file)
--- a/
include/ust/core.h
+++ b/
include/ust/core.h
@@
-119,11
+119,6
@@
static inline long IS_ERR(const void *ptr)
#define zmalloc(s) calloc(1, s)
#define zmalloc(s) calloc(1, s)
-/* ATTRIBUTES */
-
-/* FIXME: define this */
-#define ____cacheline_aligned
-
/* MATH */
#include <ust/processor.h>
/* MATH */
#include <ust/processor.h>
@@
-146,7
+141,7
@@
static __inline__ int get_count_order(unsigned int count)
return order;
}
return order;
}
-#define container_of(ptr, type, member) ({ \
+#define
_ust_
container_of(ptr, type, member) ({ \
const typeof( ((type *)0)->member ) *__mptr = (ptr); \
(type *)( (char *)__mptr - offsetof(type,member) );})
const typeof( ((type *)0)->member ) *__mptr = (ptr); \
(type *)( (char *)__mptr - offsetof(type,member) );})
This page took
0.025133 seconds
and
4
git commands to generate.