lib/ringbuffer/frontend_api.h: Include linux/prefetch.h.
authorWill Newton <will.newton@imgtec.com>
Thu, 11 Oct 2012 16:51:15 +0000 (12:51 -0400)
committerMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Thu, 11 Oct 2012 16:51:15 +0000 (12:51 -0400)
prefetch() is used in this file so make sure we include the appropriate
header before using it.

Signed-off-by: Will Newton <will.newton@imgtec.com>
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
lib/ringbuffer/frontend_api.h

index cc098274f4545b36a06388d582eaaaf3d6dad5f2..c36ec3dc2e3f0e3e8436a54ebee50b0be26d77a4 100644 (file)
@@ -31,6 +31,7 @@
 
 #include "../../wrapper/ringbuffer/frontend.h"
 #include <linux/errno.h>
+#include <linux/prefetch.h>
 
 /**
  * lib_ring_buffer_get_cpu - Precedes ring buffer reserve/commit.
This page took 0.025973 seconds and 4 git commands to generate.