X-Git-Url: http://git.lttng.org./?a=blobdiff_plain;ds=sidebyside;f=include%2Fust%2Fcore.h;h=0172614331dfd4ae70bfe339c9447f75500ed33f;hb=4723ca096d740ff93da400df304c9902e9834e5f;hp=c6057ea7b0a93e13de955d1c903a4f4cd2f8b3a4;hpb=518d7abb8e3720433c611499f704c3bd9d554102;p=lttng-ust.git diff --git a/include/ust/core.h b/include/ust/core.h index c6057ea7..01726143 100644 --- a/include/ust/core.h +++ b/include/ust/core.h @@ -115,20 +115,10 @@ static inline long IS_ERR(const void *ptr) #define DEFINE_MUTEX(m) pthread_mutex_t (m) = PTHREAD_MUTEX_INITIALIZER; #define DECLARE_MUTEX(m) extern pthread_mutex_t (m); -#define mutex_lock(m) pthread_mutex_lock(m) - -#define mutex_unlock(m) pthread_mutex_unlock(m) - - /* MALLOCATION */ #define zmalloc(s) calloc(1, s) -/* ATTRIBUTES */ - -/* FIXME: define this */ -#define ____cacheline_aligned - /* MATH */ #include