summaryrefslogtreecommitdiff
path: root/src/sna/compiler.h
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2013-03-12 20:12:51 +0000
committerChris Wilson <chris@chris-wilson.co.uk>2013-03-12 20:23:02 +0000
commit49374f2155f0c8c80b1c54e968d510d55df49221 (patch)
tree3e8c3490cd7a3d033e554d067c6c1bec75b89c68 /src/sna/compiler.h
parentee0ed88a09bc2f8ebe49b1d7f7e209a73e02fee0 (diff)
sna/gen4: Tweak compilation flags to avoid mixed settings across functions
Confusing gcc with different flags for supposedly inlined functions is not a good idea. References: https://bugs.freedesktop.org/show_bug.cgi?id=62198 Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Diffstat (limited to 'src/sna/compiler.h')
-rw-r--r--src/sna/compiler.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sna/compiler.h b/src/sna/compiler.h
index 985844df..b5c9ac27 100644
--- a/src/sna/compiler.h
+++ b/src/sna/compiler.h
@@ -43,7 +43,7 @@
#define likely(expr) (expr)
#define unlikely(expr) (expr)
#define noinline
-#define force_inline
+#define force_inline inline
#define fastcall
#define must_check
#define constant