diff options
Diffstat (limited to '4.2-kolasa-fpu_save_init.patch')
-rw-r--r-- | 4.2-kolasa-fpu_save_init.patch | 34 |
1 files changed, 0 insertions, 34 deletions
diff --git a/4.2-kolasa-fpu_save_init.patch b/4.2-kolasa-fpu_save_init.patch deleted file mode 100644 index 6d2e4e70c0f5..000000000000 --- a/4.2-kolasa-fpu_save_init.patch +++ /dev/null @@ -1,34 +0,0 @@ ---- 15.9/common/lib/modules/fglrx/build_mod/firegl_public.c 2015-09-20 18:29:19.488890309 +0200 -+++ 15.9b/common/lib/modules/fglrx/build_mod/firegl_public.c 2015-09-20 14:20:51.000000000 +0200 -@@ -6505,11 +6505,15 @@ - struct task_struct *cur_task = get_current(); - preempt_disable(); - if (cur_thread->status & TS_USEDFPU) -+#if LINUX_VERSION_CODE >= KERNEL_VERSION(4,2,0) -+ copy_fpregs_to_fpstate(&cur_task->thread.fpu); -+#else - #if LINUX_VERSION_CODE >= KERNEL_VERSION(3,15,0) - KCL_fpu_save_init(cur_task); - #else - __save_init_fpu(cur_task); - #endif -+#endif - else - clts(); - -@@ -6531,11 +6535,15 @@ - #else - if (cur_task->thread.fpu.fpregs_active) - #endif -+#if LINUX_VERSION_CODE >= KERNEL_VERSION(4,2,0) -+ copy_fpregs_to_fpstate(&cur_task->thread.fpu); -+#else - #if LINUX_VERSION_CODE >= KERNEL_VERSION(3,15,0) - KCL_fpu_save_init(cur_task); - #else - __save_init_fpu(cur_task); - #endif -+#endif - else - clts(); - #endif |