update for threads
[lttv.git] / usertrace-generic / ltt / ltt-generic.h
index 5f5010c671bb2a54d1b47e083de1bb47d5228fbb..9d52ad70fa37f3a051d864fd16de0b910747fb58 100644 (file)
@@ -74,6 +74,7 @@ static inline unsigned int __attribute__((no_instrument_function))
 
   return ((alignment - align_drift) & (alignment-1));
 }
+#define LTT_ALIGN
 #else
 static inline unsigned int __attribute__((no_instrument_function))
                                                                                                                ltt_align(size_t align_drift,
@@ -81,6 +82,7 @@ static inline unsigned int __attribute__((no_instrument_function))
 {
   return 0;
 }
+#define LTT_ALIGN __attribute__((packed))
 #endif //LTT_PACK
 
 #endif //_LTT_GENERIC_H
This page took 0.023011 seconds and 4 git commands to generate.