From: Will Newton Date: Thu, 11 Oct 2012 16:51:15 +0000 (-0400) Subject: lib/ringbuffer/frontend_api.h: Include linux/prefetch.h. X-Git-Tag: v2.1.0~8 X-Git-Url: http://git.lttng.org/?p=lttng-modules.git;a=commitdiff_plain;h=dfbc2ec7c33c5fd5791ac09676e73e479b5186df lib/ringbuffer/frontend_api.h: Include linux/prefetch.h. prefetch() is used in this file so make sure we include the appropriate header before using it. Signed-off-by: Will Newton Signed-off-by: Mathieu Desnoyers --- diff --git a/lib/ringbuffer/frontend_api.h b/lib/ringbuffer/frontend_api.h index cc098274..c36ec3dc 100644 --- a/lib/ringbuffer/frontend_api.h +++ b/lib/ringbuffer/frontend_api.h @@ -31,6 +31,7 @@ #include "../../wrapper/ringbuffer/frontend.h" #include +#include /** * lib_ring_buffer_get_cpu - Precedes ring buffer reserve/commit.