summaryrefslogtreecommitdiff
path: root/x11-drivers/ati-userspace/files/use-kernel_fpu_begin.patch
blob: f0ba2785323d1c51e1e39e49ce5ff57d64ca4292 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
diff -Naur a/common/lib/modules/fglrx/build_mod/firegl_public.c b/common/lib/modules/fglrx/build_mod/firegl_public.c
--- a/common/lib/modules/fglrx/build_mod/firegl_public.c	2014-10-27 23:30:58.630304842 +0200
+++ b/common/lib/modules/fglrx/build_mod/firegl_public.c	2014-10-27 23:32:57.300306011 +0200
@@ -6389,7 +6389,7 @@
  */
 void ATI_API_CALL KCL_fpu_begin(void)
 {
-#ifdef CONFIG_X86_64
+#if defined(CONFIG_X86_64) || LINUX_VERSION_CODE >= KERNEL_VERSION(3,17,0)
     kernel_fpu_begin();
 #else
 #ifdef TS_USEDFPU