diff options
Diffstat (limited to 'kernel/ati-kernel-3.2.8.patch')
-rw-r--r-- | kernel/ati-kernel-3.2.8.patch | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/kernel/ati-kernel-3.2.8.patch b/kernel/ati-kernel-3.2.8.patch deleted file mode 100644 index 381250214..000000000 --- a/kernel/ati-kernel-3.2.8.patch +++ /dev/null @@ -1,21 +0,0 @@ -Signed-off-by: Gianluca Gennari <gennarone@gmail.com> ---- ---- 12.1/common/lib/modules/fglrx/build_mod/firegl_public.c -+++ 12.1/common/lib/modules/fglrx/build_mod/firegl_public.c -@@ -5797,10 +5797,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 |