summaryrefslogtreecommitdiff
path: root/user/xf86-video-intel/pmmx.patch
diff options
context:
space:
mode:
Diffstat (limited to 'user/xf86-video-intel/pmmx.patch')
-rw-r--r--user/xf86-video-intel/pmmx.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/user/xf86-video-intel/pmmx.patch b/user/xf86-video-intel/pmmx.patch
new file mode 100644
index 000000000..7edddfb96
--- /dev/null
+++ b/user/xf86-video-intel/pmmx.patch
@@ -0,0 +1,13 @@
+diff --git a/src/sna/compiler.h b/src/sna/compiler.h
+index 0f3775ec..c4056913 100644
+--- a/src/sna/compiler.h
++++ b/src/sna/compiler.h
+@@ -32,7 +32,7 @@
+ #define likely(expr) (__builtin_expect (!!(expr), 1))
+ #define unlikely(expr) (__builtin_expect (!!(expr), 0))
+ #define noinline __attribute__((noinline))
+-#define force_inline inline __attribute__((always_inline))
++#define force_inline inline
+ #define fastcall __attribute__((regparm(3)))
+ #define must_check __attribute__((warn_unused_result))
+ #define constant __attribute__((const))