From: Mathieu Desnoyers Date: Sun, 25 Sep 2011 03:35:38 +0000 (-0400) Subject: Use unaligned writes for arch with efficient unaligned accesses X-Git-Tag: v1.9.1~187 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=d4d59a97fc0058a3cc1987274a22ddefb13850cd;p=lttng-ust.git Use unaligned writes for arch with efficient unaligned accesses Signed-off-by: Mathieu Desnoyers --- diff --git a/include/ust/lttng-tracer.h b/include/ust/lttng-tracer.h index 18739e2d..f2bdbf51 100644 --- a/include/ust/lttng-tracer.h +++ b/include/ust/lttng-tracer.h @@ -21,7 +21,9 @@ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA */ -#ifndef CONFIG_HAVE_EFFICIENT_UNALIGNED_ACCESS +#include + +#ifndef HAVE_EFFICIENT_UNALIGNED_ACCESS /* Align data on its natural alignment */ #define RING_BUFFER_ALIGN #endif