summaryrefslogtreecommitdiff
path: root/lib/intel_batchbuffer.h
diff options
context:
space:
mode:
authorBen Widawsky <ben@bwidawsk.net>2012-01-15 13:41:42 -0800
committerBen Widawsky <ben@bwidawsk.net>2012-01-25 21:01:55 -0800
commit802bd74c5f9526faccfdf168b06c0c2c44237840 (patch)
tree0dfc30c11a1898bbebe2ba36d95a5ff5997d16f0 /lib/intel_batchbuffer.h
parent1ffe6b0ee8decc02edb48ab197a869e1d7783a2b (diff)
i-g-t: silence -Winline
In this case, the code already has a comment about the problem. We don't need to flood the build with this less than useful message. Signed-off-by: Ben Widawsky <ben@bwidawsk.net>
Diffstat (limited to 'lib/intel_batchbuffer.h')
-rw-r--r--lib/intel_batchbuffer.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/intel_batchbuffer.h b/lib/intel_batchbuffer.h
index 4b0ae427..4dffda7e 100644
--- a/lib/intel_batchbuffer.h
+++ b/lib/intel_batchbuffer.h
@@ -43,6 +43,7 @@ void intel_batchbuffer_emit_reloc(struct intel_batchbuffer *batch,
* be passed as structs rather than dwords, but that's a little bit of
* work...
*/
+#pragma GCC diagnostic ignored "-Winline"
static inline int
intel_batchbuffer_space(struct intel_batchbuffer *batch)
{