From: | "Chi-Thanh Christopher Nguyen (chithanh)" <chithanh@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in x11-drivers/ati-drivers/files: amd-drivers-3.2.7.1.patch |
Date: | Mon, 30 Apr 2012 22:32:29 |
Message-Id: | 20120430223209.5C5B62004B@flycatcher.gentoo.org |
1 | chithanh 12/04/30 22:32:09 |
2 | |
3 | Added: amd-drivers-3.2.7.1.patch |
4 | Log: |
5 | Version bump. Import of Enrico Tagliavini's ebuild from the x11 overlay. |
6 | |
7 | (Portage version: 2.2.0_alpha101/cvs/Linux x86_64) |
8 | |
9 | Revision Changes Path |
10 | 1.1 x11-drivers/ati-drivers/files/amd-drivers-3.2.7.1.patch |
11 | |
12 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-drivers/ati-drivers/files/amd-drivers-3.2.7.1.patch?rev=1.1&view=markup |
13 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-drivers/ati-drivers/files/amd-drivers-3.2.7.1.patch?rev=1.1&content-type=text/plain |
14 | |
15 | Index: amd-drivers-3.2.7.1.patch |
16 | =================================================================== |
17 | --- a/common/lib/modules/fglrx/build_mod/firegl_public.c |
18 | +++ b/common/lib/modules/fglrx/build_mod/firegl_public.c |
19 | @@ -5797,10 +5797,16 @@ void ATI_API_CALL KCL_fpu_begin(void) |
20 | #ifdef CONFIG_X86_64 |
21 | kernel_fpu_begin(); |
22 | #else |
23 | +#ifndef TS_USEDFPU |
24 | + preempt_disable(); |
25 | + if (__thread_has_fpu(current)) |
26 | + __save_init_fpu(current); |
27 | +#else |
28 | struct thread_info *cur_task = current_thread_info(); |
29 | preempt_disable(); |
30 | if (cur_task->status & TS_USEDFPU) |
31 | __save_init_fpu(cur_task->task); |
32 | +#endif |
33 | else |
34 | clts(); |
35 | #endif |