create directories branches, tags, trunk
[lttv.git] / ltt-usertrace / ltt-usertrace-fast.c
index 17da6cd8cf2a4d05b97bf6bf353e141643859dcf..f97e941e5e12b2d97e80c9abb52602ee393a656e 100644 (file)
@@ -68,9 +68,6 @@
 #include <unistd.h>
 #include <sys/syscall.h>
 
-// included with hack for powerpc in ltt-usertrace.h #include <asm/atomic.h>
-#include <asm/timex.h> //for get_cycles()
-
 #include <ltt/ltt-usertrace.h>
 
 #define gettid() syscall(__NR_gettid)
@@ -371,6 +368,7 @@ static inline int ltt_buffer_put(struct ltt_buf *ltt_buf,
                        printf("error in sem_post");
                }
        }
+       return ret;
 }
 
 static int read_subbuffer(struct ltt_buf *ltt_buf, int fd)
This page took 0.022096 seconds and 4 git commands to generate.