Remove dependencies on old ltt-core.h header
authorMathieu Desnoyers <mathieu.desnoyers@polymtl.ca>
Mon, 17 Jan 2011 05:05:28 +0000 (00:05 -0500)
committerMathieu Desnoyers <mathieu.desnoyers@polymtl.ca>
Mon, 17 Jan 2011 05:05:28 +0000 (00:05 -0500)
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
ltt-tracer-core.h
ltt-tracer.h

index c300e5d2d55352cd9c949d0d8cdda8fdf1ade57a..83debd9f18cc90d4edfa9ce86ba4d792c5d705e1 100644 (file)
@@ -11,7 +11,6 @@
 
 #include <linux/list.h>
 #include <linux/percpu.h>
-#include <linux/ltt-core.h>
 
 #ifndef CONFIG_HAVE_EFFICIENT_UNALIGNED_ACCESS
 /* Align data on its natural alignment */
index 1ca13a99aa7a22af873f1e8e462f320108d9fb94..84b3731f08cde346b61c2a3ace65988112571823 100644 (file)
@@ -273,7 +273,7 @@ unsigned char record_header_size(const struct lib_ring_buffer_config *config,
                        offset += sizeof(u16) + sizeof(u16);
                        if (data_size >= LTT_MAX_SMALL_SIZE)
                                offset += sizeof(u32);
-                       offset += ltt_align(offset, sizeof(u64));
+                       offset += lib_ring_buffer_align(offset, sizeof(u64));
                        offset += sizeof(u64);
                        break;
                case LTT_RFLAG_ID_SIZE:
This page took 0.028094 seconds and 4 git commands to generate.