summaryrefslogtreecommitdiff
path: root/x11-drivers/ati-drivers/files/ati-drivers-3.2.8+.patch
diff options
context:
space:
mode:
authorV3n3RiX <venerix@rogentos.ro>2015-10-04 19:09:51 +0100
committerV3n3RiX <venerix@rogentos.ro>2015-10-04 19:09:51 +0100
commit836dcf91c181df6afb0f658bf31d34744f8ff052 (patch)
tree17d553cc348a5cdf287a55c96021971340cd5b1d /x11-drivers/ati-drivers/files/ati-drivers-3.2.8+.patch
parent1df4d224a758ee39311dbff64893a509ef78ede2 (diff)
drop splitted x11 drivers, we go gentoo way
Diffstat (limited to 'x11-drivers/ati-drivers/files/ati-drivers-3.2.8+.patch')
-rw-r--r--x11-drivers/ati-drivers/files/ati-drivers-3.2.8+.patch29
1 files changed, 0 insertions, 29 deletions
diff --git a/x11-drivers/ati-drivers/files/ati-drivers-3.2.8+.patch b/x11-drivers/ati-drivers/files/ati-drivers-3.2.8+.patch
deleted file mode 100644
index 01291160..00000000
--- a/x11-drivers/ati-drivers/files/ati-drivers-3.2.8+.patch
+++ /dev/null
@@ -1,29 +0,0 @@
---- a/common/lib/modules/fglrx/build_mod/firegl_public.c
-+++ b/common/lib/modules/fglrx/build_mod/firegl_public.c
-@@ -187,6 +187,9 @@
- #include <linux/gfp.h>
- #include <linux/swap.h>
- #include "asm/i387.h"
-+#if LINUX_VERSION_CODE >= KERNEL_VERSION(3,4,0)
-+#include <asm/fpu-internal.h>
-+#endif
-
- #include "firegl_public.h"
- #include "kcl_osconfig.h"
-@@ -5807,10 +5810,16 @@ void ATI_API_CALL KCL_fpu_begin(void)
- #ifdef CONFIG_X86_64
- kernel_fpu_begin();
- #else
-+#ifndef TS_USEDFPU
-+ preempt_disable();
-+ if (__thread_has_fpu(current))
-+ __save_init_fpu(current);
-+#else
- struct thread_info *cur_task = current_thread_info();
- preempt_disable();
- if (cur_task->status & TS_USEDFPU)
- __save_init_fpu(cur_task->task);
-+#endif
- else
- clts();
- #endif